bumble.sf.net language and parsing

plain text fnHtmlDisplay() fnHtmlDisplay(...)

Description


This function formats a text string for display on a web page by converting whitespace characters to the appropriate Html equivalent.

Syntax


fnhtmlDisplay(sString)

Example


<%@ Language=vbScript%> <% Response.Buffer = true %> -->-->-->-->-->-->-->--> Response.Write _ fnHtmlDisplay("hello space" & chr(13) & "more text") '--<--<--<--<--<--<--<--<--< %> RESULTS PARAMETERS sString-- {string, required) the string to be formatted STATUS working DEPENDENCIES [fnErrorMessage.asp] PROGRAMMER Matthew Bishop (matthew@massive.com.au or matth3wbishop@yahoo.com) LOCATION http://www.geocities.com/matth3wbishop/eg/asp/ DOCUMENTATION http://www.geocities.com/matth3wbishop/eg/asp/ LANGUAGE MS Jscript COMMENTS: a) May be expanded for more flexibility. b) c)