summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci')
-rw-r--r--2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci b/2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci
new file mode 100644
index 00000000..9a03c576
--- /dev/null
+++ b/2.3-1/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