Generates a list of all characters in a string
CHARLIST( [<cString>] ) -> cCharacterList
[<cString>] is the string for whom the function generates a list of all characters Default: “” (empty string)
<cCharacterList> a list of the characters in <cString>
The CHARLIST() function generates a list of those characters that are contained in <cString>. This list can contain each character only once, so that its maximum length is 256. The list lists those characters first that are occuring in <cString> first.
? charlist( "Hello World !" ) // --> "Helo Wrd!"
charlist( "Hello World !" ) == "Helo Wrd!" charlist( NIL ) == ""
CHARLIST() is compatible with CT3’s CHARLIST().
Source is charlist.c, library is libct.
CHARNOLIST(), CHARSLIST(), CHARHIST()