logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

encode-web - (web-encoding)

Description

encode-web encodes <string> so it can be used in a HTML-like markup text (such as a web page or an XML/XHTML document), and stores the result in <encoded string>. You can encode only the first <length> bytes, given by "input-length" clause.

Examples

In this example, a string "str" will be web-encoded and the result is in "result" variable: set-string str=" x<y>z&\"' " encode-web str to result The "result" is " x&lt;y&gt;z&amp;&quot;&apos; ".

Name

encode-web - (web-encoding)

Purpose

Web(HTML)-encode string.

See Also

Web encoding decode-webencode-web See all documentation $DATE $VERSION GOLF(2gg)

Syntax

encode-web <string> to <encoded string> \ [ input-length <length> ]

See Also