This item was deprecated in version 2020r2. There is no replacement.
Converts the String to a Text value provided there is a valid encoding on the String.
If the String does not have a valid encoding (such as it is Nil) then a Xojo.Core.BadDataException is raised. You can define an encoding for the String using DefineEncoding.
All project types on all supported operating systems.