Man Scilab

part
Scilab Function

part - extraction of strings

Calling Sequence

[c]=part(mp,v)

Parameters

Description

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) ).

Examples


c=part(['a','abc','abcd'],[1,1,2])
 
  

See Also

string ,   length ,  

Back