3 converttohtml(), Onvert, Html() – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual
Page 85
Advertising
Teledyne LeCroy
Verification Script Engine Reference Manual
Version 6.6x
80
21.3 ConvertToHTML()
This function replaces spaces with “
 
” 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
 
world
 
!!!
<br>
How
 
are
 
you
 
today?”
Note : Some other useful miscellaneous functions can be found in the file VSTools.inc.
Advertising