There are some string issues on Asian language systems: <https://xojo.com/issue/54638> no idea if this is the same issue or something else?
What is the encoding of your string?
See String.Left fails with nil encoding on a Korean-language macOS system - #12 by Mike_D