std-strlist->csstring | ![]() |
"Stringlist to comma seperated string"
STD-STRLIST->CSSTRING
combines a list of strings to a string seperated by commas. It is the complement to STD-CSSTRING->STRLIST
.
But a complete roundtrip (std-strlist->csstring (std-csstring->strlist str))
will not always return the exact same result because additional whitespace might get deleted.
(std-strlist->csstring '("" "1" "2")) => ",1,2" (std-strlist->csstring (mapcar 'std-string-capitalize
(std-csstring->strlist input)))
capitalizes all words seperated by ","
=>
;;; print all layers, comma seperated (princ "Select Layer: ") (princ (std-strlist->csstring (std-tblnames "LAYER")))
strlst: a list of strings.
A string.
None.
(std-require 'STDSTR)
Defined in STDSTR