toDisplay

Converts plain text, including extended characters, to HTML.

Syntax

toDisplay(string)

Parameters

string

Specifies the string to be converted (original string is not modified).

Returns

Returns a string that has special characters converted to their HTML encoded strings.

Remarks

The toDisplay function works just like toHMTL, except that it also converts characters with ASCII values greater than 127. For example, decimal character 128 is converted to €.