HTMLDocument.string3kaya
Convert an entire html document to a string
Usage
String string( HTMLDocument doc, UnicodeFormat uform=LiteralUTF8 )
Arguments
doc The HTML document
uform The mode for handling multibyte UTF-8 characters. LiteralUTF8 will give a smaller String, and one that is more readable in other Unicode-aware applications. NumericReference will give a larger String, especially if multibyte characters are very common in the text, but will work better if the String will later be edited in non-Unicode applications. This argument is optional, and defaults to the recommended LiteralUTF8
Overview
Converts the entire document to String form for output. If the String will then be immediately printed, the HTMLDocument.write (3kaya) function is considerably more efficient.
-
str = string(doc);
str = string(doc,NumericReference);
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.