summaryrefslogtreecommitdiff
path: root/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
commiteb4fd4f84b56a9b8f1976a67461f2c918edede32 (patch)
treead6032b0992e679f9d69e98074141267888f5c03 /tests/unit_tests/test_string/scilabcode/strcspntest.sci
parentaa250753b439916e4df235839e9266f058632f80 (diff)
parent936bd00d2855553f52d682494814804065c7b99e (diff)
downloadScilab2C_fossee_old-eb4fd4f84b56a9b8f1976a67461f2c918edede32.tar.gz
Scilab2C_fossee_old-eb4fd4f84b56a9b8f1976a67461f2c918edede32.tar.bz2
Scilab2C_fossee_old-eb4fd4f84b56a9b8f1976a67461f2c918edede32.zip
Signal Processing and Demos Updated
Diffstat (limited to 'tests/unit_tests/test_string/scilabcode/strcspntest.sci')
-rw-r--r--tests/unit_tests/test_string/scilabcode/strcspntest.sci6
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