DADiSP Worksheet Functions > Function Categories > String Manipulation > STRLIST
Converts a list of several strings into one long string with embedded newline characters.
STRLIST("str1", ...,"strN")
"strN" |
- |
Two or more strings. |
A string.
strlist("One", "Two")
returns the string One Two with embedded newlines (CR-LF).
W1: 1..100
message(strlist(sprintf("Mean of W%d", getwnum), strnum(mean)))
Displays a message box with the text:
Mean of W1
50.5
STRLIST is useful in custom dialog boxes that include pull down combo boxes or list boxes.
See OBJECTLIST to return a list of Worksheet objects (Datasets, Series, Units, etc.).
See STRGET to return a sub-string from a list.
See STRSORT to sort a delimited list of strings.