decode: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "source>" to "syntaxhighlight>") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
[h: getStrProp(decode(getStrProp(inv, "Weapons"), "Name")] | [h: getStrProp(decode(getStrProp(inv, "Weapons"), "Name")] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|also= | |||
{{func|encode}} | |||
}} | }} | ||
[[Category:String Function]] | [[Category:String Function]] |
Latest revision as of 23:59, 27 April 2023
decode() Function
• Introduced in version 1.3b48
Decodes a string that was encoded with the encode() function. The encode() and decode() functions can be used to encode a property list so that it can be embedded within another property list.
Usage
decode(str)
Example
[h: getStrProp(decode(getStrProp(inv, "Weapons"), "Name")]