Data Functions
From UBot Studio
(Difference between revisions)
(→List of Variable Functions) |
|||
Line 12: | Line 12: | ||
*[[$List from text]]: Returns a list of items by separating the text into separate items based on a delimiter | *[[$List from text]]: Returns a list of items by separating the text into separate items based on a delimiter | ||
*[[$Text from list]]: Returns text based on connecting each list item by a connector | *[[$Text from list]]: Returns text based on connecting each list item by a connector | ||
− | *[[$Subtract lists]]: Returns the first list with all items from the second list removed from it (Pro and Dev Editons Only) | + | *[[$Subtract lists]]: Returns the first list with all items from the second list removed from it ''(Pro and Dev Editons Only)'' |
− | *[[$Sort lists]]: Returns the original list sorted in ascending or descending order (Pro and Dev Editons Only) | + | *[[$Sort lists]]: Returns the original list sorted in ascending or descending order ''(Pro and Dev Editons Only)'' |
− | *[[$Common list items]]: Returns a new list containing the common items between the first and second list (Pro and Dev Editons Only) | + | *[[$Common list items]]: Returns a new list containing the common items between the first and second list ''(Pro and Dev Editons Only)'' |
*[[$Table cell]]: Returns the value of a table cell | *[[$Table cell]]: Returns the value of a table cell | ||
*[[$Table total rows]]: Returns the number of rows in a table | *[[$Table total rows]]: Returns the number of rows in a table | ||
*[[$Table total columns]]: Returns the number of columns in a table | *[[$Table total columns]]: Returns the number of columns in a table |
Revision as of 20:04, 10 October 2012
Variable Functions manipulate data. Data can be represented in the form of variables, lists, and tables.
List of Variable Functions
- $List total: Returns the total number of items in a list
- $List Position: Returns the position of a specific list item
- $Random list item: Returns a randomly selected item from a list
- $Next List Item: Returns the list item at the list's current position and increments the list's position (used with the set list position command)
- $Previous list item: Returns the list item at the list's current position and decrements the list's position
- $List item: Returns a list item at a specified position
- $Read file: Returns the contents of a file
- $List from file: Returns a list made up of each item within a file.
- $List from text: Returns a list of items by separating the text into separate items based on a delimiter
- $Text from list: Returns text based on connecting each list item by a connector
- $Subtract lists: Returns the first list with all items from the second list removed from it (Pro and Dev Editons Only)
- $Sort lists: Returns the original list sorted in ascending or descending order (Pro and Dev Editons Only)
- $Common list items: Returns a new list containing the common items between the first and second list (Pro and Dev Editons Only)
- $Table cell: Returns the value of a table cell
- $Table total rows: Returns the number of rows in a table
- $Table total columns: Returns the number of columns in a table