decode-web
Purpose:
Decode web(HTML)-encoded string.
Syntax:
decode-web <string> [ output-length [ define ] <decoded length> ] [ input-length <length> ]
Description:
decode-web will decode <string> (created by
encode-web or other web-encoding software) and store the result back into it (i.e it will be modified).
"output-length" clause lets you get the length of the decoded string (which is always lesser or equal than the length of the encoded string) in <decoded length>, which can be created with optional
"define". To decode only a number of leading bytes in <string>, use
"input-length" clause and specify <length>.
See
encode-web.
Examples:
Decode web-encoded string
"str", after which it will hold a decoded string.
"dec_len" will be the length (in bytes) of that string:
decode-web str output-length define dec_len
See also: