March 2003
Intermediate to advanced
656 pages
39h 30m
English
escape
escape(str,quote=0)
Returns a copy of string str, replacing
each occurrence of characters &,
<, and > with the
appropriate HTML entity (&,
<, >). When
quote is true, escape
also replaces double quote characters (“) with
". Function escape
lets a script prepare arbitrary text strings for output within an
HTML document, whether or not the strings contain characters that
HTML interprets in special ways.