Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- di_Library v. 0.1 - <b>di_htmlchars()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
di_HTMLChars()
Convert any reserved ASCII characters to HTML encoding
------------------------------------------------------------------------------
Syntax

    di_HTMLChars(cString) --> cString

Arguments

    <cString> is string to convert.

Returns

    cString is the converted character string.

Description

    Replaces any occurances of reserved or undisplayable characters into
    their HTML equivalents; e.g. '<' becomes '&lt;'

Examples

    newstring := di_HTMLChars(oldstring)
    ? oldstring                 // Result:  "<cClipperVar>"
    ? newstring                 // Result:  "&lt;cClipperVar&gt;"

See Also: di_HTML2ASCII()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson