deleteStrProp: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "source>" to "syntaxhighlight>") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
deleteStrProp(props, key) | deleteStrProp(props, key) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|example= | |example= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r: deleteStrProp("a=blah; b=doh; c=meh", "a")] | [r: deleteStrProp("a=blah; b=doh; c=meh", "a")] | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 17:17, 14 March 2023
deleteStrProp() Function
• Introduced in version 1.3b42
Returns a copy of the string property list with the specified key removed.
Usage
deleteStrProp(props, key)
Example
[r: deleteStrProp("a=blah; b=doh; c=meh", "a")]