deleteStrProp

From RPTools Wiki
Revision as of 16:59, 14 March 2023 by Taustin (talk | contribs) (Text replacement - "source>" to "syntaxhighlight>")
Jump to navigation Jump to search

deleteStrProp() Function

Introduced in version 1.3b42
Returns a copy of the string property list with the specified key removed.

Usage

<source lang="mtmacro" line> deleteStrProp(props, key) </syntaxhighlight>

Example

<source lang="mtmacro" line>

[r: deleteStrProp("a=blah; b=doh; c=meh", "a")] </syntaxhighlight>

Returns "b=doh; c=meh".