Method

String.ToText


Warning

This item was deprecated in version 2020r2. There is no replacement.

Description

Converts the String to a Text value provided there is a valid encoding on the String.

Notes

If the String does not have a valid encoding (such as it is Nil) then a Xojo is raised. You can define an encoding for the String using DefineEncoding.

Compatibility

All projects types on all supported operating systems.

See also

String parent class; String data type