textSplit (text -- characterList)text: Known Text to split.textSplit splits known non-NIL Text by decoded UTF-8 characters. Byte counts are provided by textSize.
Splitting is by decoded UTF-8 characters, not by raw bytes. Empty Text yields the empty Tuple (). Nonempty Text yields a List of one-character Text items.
{} () {} [
"" textSplit printStack _:;
"你好" textSplit printStack _:;
] "main" exportFunction
()
("你" "好")
& builtin (prefix suffix -- text) Concatenates two known Text values.LF builtin (-- lineFeed) Pushes a line-feed Text constant.attribute builtin (attribute --) Consumes one known Text attribute string and produces no value.textSize builtin (text -- size) Returns the UTF-8 code-unit (byte) count of a Text value as known or unknown Natx; known NIL text is invalid.