Scilab Reference Manual |
---|
part — extraction of strings
[c]=part(mp,v)
Let s[k] stands for the k character of string s ( or the white space character if k >length(s)).
part returns c, a matrix of character strings, such that c(i,j) is the string "s[v(1)]...s[v(n)]" ( s=mp(i,j) ).
c=part(['a','abc','abcd'],[1,1,2])
<< length | str2code >> |