textSplit (text -- characterList)
Inputs
Outputs
textSplit splits known non-NIL Text by decoded UTF-8 characters. Byte counts are provided by textSize.
Example
{} () {} [
"" textSplit printStack _:;
"你好" textSplit printStack _:;
] "main" exportFunction
Expected Output During Compilation
()
("你" "好")
See also
&builtin(prefix suffix -- text)Concatenates two known Text objects.LFbuiltin(-- lineFeed)Pushes a line-feed Text constant.attributebuiltin(attribute --)Consumes one known Text attribute string and produces nothing.textSizebuiltin(text -- size)Returns the UTF-8 code-unit (byte) count of a Text object as known or unknown Natx; knownNILtext is invalid.