string Property List: Difference between revisions
Verisimilar (talk | contribs) (Added to Variable Type category, updated links.) |
No edit summary |
||
Line 10: | Line 10: | ||
The default delimiter in a string property list is the semicolon ({{code|";"}}), however, the [[:Category:String Function|String Functions]] that work with string property lists permit the use of alternate delimiters. | The default delimiter in a string property list is the semicolon ({{code|";"}}), however, the [[:Category:String Function|String Functions]] that work with string property lists permit the use of alternate delimiters. | ||
The [[:Category:String Property List Functions|String Property List Functions]] only work with the default delimiter. | |||
String property lists may be stored in a [[Token Property|token property]]. | String property lists may be stored in a [[Token Property|token property]]. | ||
[[Category:Variable Type]] | [[Category:Variable Type]] |
Revision as of 19:09, 10 October 2009
A string property list is a delimited string containing multiple key-value pairs in the format "var1=value1; var2=value2;..."
For example:
[h: stringPropertyList="var1=foo; var2=bar; var3=baz;"]
String property lists are zero-based (i.e., the first item in a string property list is item 0
). When a key-value pair is extracted from a string property list using one of the available String Functions that work with string property lists, the value of the pair is considered a string, and must be converted to or evaluated to a number to perform numeric computations.
The default delimiter in a string property list is the semicolon (";"
), however, the String Functions that work with string property lists permit the use of alternate delimiters.
The String Property List Functions only work with the default delimiter.
String property lists may be stored in a token property.