TextConverter.Convert

From Xojo Documentation

Method

TextConverter.Convert(InputText as String) As String

Supported for all project types and targets.

Converts InputText. Returns the converted text as a String.

Example

The following example converts the text in a TextField:

Var c As TextConverter
c = GetTextConverter(GetTextEncoding(&h500), GetTextEncoding(0))
TextArea2.Value = c.Convert(TextArea1.Value)