| htmlDecode |
(String str) |
yoix.string |
| |
Scans
str
for character sequences of the form:
N;,
where
N
is treated as the decimal value of the resulting decoded character,
or also for sequences of the form:
KEYWORD;,
where
KEYWORD
is any of the character encodings defined in the HTML4.1
specification posted on the
w3c.org
website.
In either case, the replacement in the returned output string is a
single character.
| |
| Example: |
The program,
import yoix.string.*;
String enc = htmlEncode("<B>Hello, World.</B>");
stdout.nextline = enc;
stdout.nextline = htmlDecode(enc);
prints
<B>Hello, World.</B>
<B>Hello, World.</B>
on standard output.
| | |
| Return: |
String
| | |
| See Also: |
htmlEncode
|
|
Yoix is a registered trademark of AT&T Inc.
|