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 %> Testing fnHtmlDisplay
This page tests the function fnHtmlDisplay
<% '-->-->-->-->-->-->-->-->--> 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)