string List: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Macros:string list moved to String List: Moved to main namespace.)
m (Added to Variable Type category, updated links.)
Line 7: Line 7:
</source>
</source>


String lists are zero-based (''i.e.'', the first item in a string list is item 0). The default delimiter in a string property list is the comma (","), however, the [[Macros:Functions:list_of_functions_by_area#String_List | string list functions]] allow for optional arguments to permit the use of alternate delimiters.  
String lists are zero-based (''i.e.'', the first item in a string list is item 0). The default delimiter in a string property list is the comma (","), however, the [[:Category:String Function|String Functions]] that work with string property lists allow for optional arguments to permit the use of alternate delimiters.  


String lists may be stored in [[Token:token_property | token properties]].
String lists may be stored in a [[Token Property]].
[[Category:Variable Type]]

Revision as of 13:00, 25 March 2009

A string property list is a string in the format "item1, item2, item3,..."

For example:

[h: stringList="foo, bar, baz"]

String lists are zero-based (i.e., the first item in a string list is item 0). The default delimiter in a string property list is the comma (","), however, the String Functions that work with string property lists allow for optional arguments to permit the use of alternate delimiters.

String lists may be stored in a Token Property.