encode: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page encode to Encode without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page Encode to encode: Converting page titles to lowercase)
(No difference)

Revision as of 22:53, 9 February 2023

encode() Function

Introduced in version 1.3b48
Encodes a string that was can be decoded with the decode() function. The decode() and encode() functions can be used to encode a property list so that it can be embedded within another property list.

Usage

encode(str)

Example

[h: innerPropList = encode("val1=blah ; val2=blahblah")]
[h: props = setStrProp(props, key, innerPropList)]