tchmi_text_to_html
[ Function ]
function tchmi_text_to_html(text: string): string;
Converts a formatted string into formatted HTML.
Parameter
Name | Type | Description |
---|---|---|
text | The string to be converted |
Return value
Type | Description |
---|---|
The converted string. |
Available from version 1.12 |
Sample - JavaScript
TcHmi.Log.debug(tchmi_text_to_html('\\r\\n')); // '<br/>'