$list from text

From UBot Studio
Revision as of 19:41, 15 October 2012 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

list from text is a Variable Function.

This function returns a list of items by separating the text into separate items based on a delimiter

Example

add list to list(%my list, $list from text("list item 1, list item 2,list item 3, list item 4,list item 5,list item 6", ","), "Delete", "Global")

The delimiter is the comma. The list from text function will treat each word separated by a comma as a list item.

Running the command and checking the debugger shows that each word has been designated as it's own list item.

File:Listfromtext.png


The random list item and the next list item function can then be used to fill fields with the list items.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox