$text from list
From UBot Studio
(Difference between revisions)
(Created page with "$list from text is a Variable Function. The function returns text based on connecting each list item by a connector. It will replace the delimiter of a ...") |
|||
Line 1: | Line 1: | ||
$list from text is a [[Variable Functions|Variable Function]]. The function returns text based on connecting each list item by a connector. | $list from text is a [[Variable Functions|Variable Function]]. The function returns text based on connecting each list item by a connector. | ||
− | It will replace the delimiter of a list with a | + | It will replace the delimiter of a list with a designated delimiter. |
== Example == | == Example == |
Revision as of 00:42, 16 October 2012
$list from text is a Variable Function. The function returns text based on connecting each list item by a connector. It will replace the delimiter of a list with a designated 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") save to file("C:\\Users\\LillyT\\Desktop\\my file.txt", $text from list(%my list, ":"))
The delimiter in the list $my list is the command. Running the script changes the delimiter in the list to the colon. The list is then saved to a file.
The file's contents show the delimiter has been changed from the comma to the colon.