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

string

The string to be converted

Return value

Type

Description

string

The converted string.

tchmi_text_to_html 1:

Available from version 1.12

Sample - JavaScript

TcHmi.Log.debug(tchmi_text_to_html('\\r\\n')); // '<br/>'