diff options
Diffstat (limited to 'tests/unit_tests/test_string/scilabcode/strcspntest.sci')
-rw-r--r-- | tests/unit_tests/test_string/scilabcode/strcspntest.sci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit_tests/test_string/scilabcode/strcspntest.sci b/tests/unit_tests/test_string/scilabcode/strcspntest.sci new file mode 100644 index 0000000..9a03c57 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/strcspntest.sci @@ -0,0 +1,6 @@ +function strcspntest() + x="123243545assdsc"; + y="anki5t3"; + z=strcspn(y,x); + disp(z); +endfunction |