Data Functions

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " $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 sele...")
 
(List of Data Functions)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''Data Functions''' manipulate data. Data can be represented in the form of variables, lists, and tables.
  
$[[List total]]: Returns the total number of items in a list
+
[[File:dfunctions.jpg]]
  
$[[List position]]: Returns the position of a specific list item
+
==List of Data Functions==
 
+
*[[$list total]]: Returns the total number of items in a list
$[[Random list item]]: Returns a randomly selected item from a list
+
*[[$list position|$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)
+
*[[$next list item|$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|set list position command]])
 
+
*[[$previous list item]]: Returns the list item at the list's current position and decrements the list's position  
$[[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 item]]: Returns a list item at a specified position
+
*[[$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
$[[Read file]]: Returns the contents of a file
+
*[[$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)'''
$[[List from file]]: Returns a list made up of each item within a file.
+
*[[$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)'''
$[[List from text]]: Returns a list of items by separating the text into separate items based on a delimiter
+
*[[$table cell]]: Returns the value of a table cell
 
+
*[[$table total rows]]: Returns the number of rows in a table
$[[Text from list]]: Returns text based on connecting each list item by a connector
+
*[[$table total columns]]: Returns the number of columns in a table
 
+
*[[$table search]]: Returns the row index or the column index where a specific string is located in a table
$[[Subtract lists]]: Returns the first list with all items from the second list removed from it (Pro and Dev Editons Only)
+
*[[$list from table]]: Returns the contents of a specified row or column as list items
 
+
$[[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
+

Latest revision as of 13:19, 11 November 2013

Data Functions manipulate data. Data can be represented in the form of variables, lists, and tables.

Dfunctions.jpg

[edit] List of Data 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
  • $table search: Returns the row index or the column index where a specific string is located in a table
  • $list from table: Returns the contents of a specified row or column as list items
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox