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_html2ascii()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
di_HTML2ASCII()
Convert any special characters from HTML encoding to plain ASCII
------------------------------------------------------------------------------
Syntax

    di_HTML2ASCIIChars(cString) --> cString

Arguments

    <cString> is string to convert.

Returns

    cString is the converted character string.

Description

    Replaces any occurances of HTML character entities with ASCII
    characters or strings; e.g. '&lt;' becomes '<'

Examples

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

See Also: di_HTMLChars()

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