summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 19:57:00 +0530
committerBrijeshcr2017-07-07 19:57:00 +0530
commit1df1fd26cfd7b19dda4b7a572687c863b530b380 (patch)
tree001ccc771a846073a791b8b1ed1f109277a52f00 /2.3-1/tests/unit_tests/test_string/scilabcode/strcspntest.sci
parent282cbe9542cddac862b88d3431a18db9df781ba7 (diff)
parent4d7c91e9cfaf823b784961a5762b00040893e3e3 (diff)
downloadScilab2C-1df1fd26cfd7b19dda4b7a572687c863b530b380.tar.gz
Scilab2C-1df1fd26cfd7b19dda4b7a572687c863b530b380.tar.bz2
Scilab2C-1df1fd26cfd7b19dda4b7a572687c863b530b380.zip
Signal Processing and Demos Updated
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