Command Reference : Function Reference : Function Reference: S
  
 
@sfill
 
Create a string vector from a list of strings.
Syntax: @sfill(str1[, str2, str3, ...])
str1: string
strs: string str2, str3, ...
Return: svector
Returns an svector containing strings specified in a comma separated list of strings.
Examples
If string list SS01 contains “A B C D E F”, then
svector s1 = @sfill("A", "B", "C", "D", "E", "F")
returns the 6 element svector S1, where row one of S1 contains “A”, row two contains “B”, etc.
svector s2 = @sfill("my apples", "your oranges", "our pears")
creates a 3 element svector S2, with the rows containing “my apples”, “your oranges”, and “our pears”.
Cross-references
See also @wsplit. See @wjoin for obtaining a string from an svector.