textSplit (text -- characterList)

Inputs

Outputs

textSplit splits known non-NIL Text by decoded UTF-8 characters. Byte counts are provided by textSize.

Example: Lists of characters

textSplit splits text into its characters, so "你好" gives ("你" "好") and the empty text gives ().

{} () {} [
  "" textSplit printStack _:;
  "你好" textSplit printStack _:;
] "main" exportFunction

Expected Output During Compilation

()
("你" "好")

See also