std-csstring->strlist | ![]() |
"Comma seperated string to stringlist"
STD-CSSTRING->STRLIST
is a mnemonic for "std-string->strlist comma". It splits a string into a list of strings, seperated by a comma and whitespace. (delims are ", \t")
Empty elements are not returned.
It is the complement to STD-STRLIST->CSSTRING
.
(std-csstring->strlist " , 1, 2")) => ("1" "2") (setq s (getstring "Select multiple layers: ")) (setq layers (std-csstring->strlist s))
str: a string.
A list of strings or nil.
None.
(std-require 'STDSTR)
Defined in STDSTR