TextConverter.Convert

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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.Text = c.Convert(TextArea1.Text)