Command Reference : Matrix Language Reference
Create and fill an svector from a list of values.
Syntax: @sfill("str1"[, "str2", "str3", ...])
str#: strings
Return: svector
Returns a svector containing the string elements specified by the arguments to the function. The vector will have length equal to the number of arguments. The maximum number of arguments is 96.
svector idx4 = @sfill("apple", "pear", "orange")
creates the svector with the values {“apple”, “pear”, “orange”}.
See also @fill.