Vely logo install
examples
documentation

Vely 15.2.0 released on Jan 18, 2023
Articles updated Jan 17, 2023

decode-web


Issues with this documentation page? Report here.

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:


Web encoding ( decode-web   encode-web  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.