1
strindex Scilab Group Scilab Function strindex
3
strindex - search position of a character string in an other string.
6
ind=strindex(str1,str2)
8
str1 : a character string. The string where to search
11
str2 : a character string or character string vector . The
12
string(s) to search in str1
14
ind : vector of indexes
17
strindex searches indexes where str2(i) is found in str1 for each k it
18
exist a i shuch that part(str1,ind(k)+(0:length(str2(i))-1)) is the same
19
string than str2(i) When str2 is a vector and str2
22
k=strindex('SCI/demos/scicos','/')
23
k=strindex('SCI/demos/scicos','SCI/')
24
k=strindex('SCI/demos/scicos','!')
25
k=strindex('aaaaa','aa')
26
k=strindex('SCI/demos/scicos',['SCI','sci'])