TextToUnicode 命令

TextToUnicode( "<Text>" )

将文本转换为 Unicode 数字列表,每个字符对应一个数字。

  • TextToUnicode("Some text") 给出 Unicode 数字列表 {83, 111, 109, 101, 32, 116, 101, 120, 116} .

  • 如果 text1 "hello" ,则 TextToUnicode(text1) 给出 Unicode 数字列表 {104, 101, 108, 108, 111} .

另请参阅 UnicodeToTextLetterToUnicode .