Converttohtml(), Onvert, Html() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 92: 3 converttohtml()

Advertising
background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





23.3 ConvertToHTML()


This function replaces spaces with “

&nbsp

” and carriage return symbols with “

<br>

” in a text string.


Format:

ConvertToHTML(text_string)


Parameters:

text_string

Text

string


Example:

str = “Hello world !!!\n”;

str += “How are you today?”;

html_str = ConvertToHTML (str);

# html_string = “Hello

&nbsp

world

&nbsp

!!!

<br>

How

&nbsp

are

&nbsp

you

&nbsp

today?”


Note: Some other useful miscellaneous functions can be found in the file: VSTools.inc.

Page 92 of 95



Advertising