AutomationNinja 194 Posted December 16, 2012 Report Share Posted December 16, 2012 If you have a list that has been entered into a text field called #items and each is separated by a comma delimiter "," and you want to take each item and turn each of them into a separate variable like so: item#1 item#2 item#3 here is what you would do: comment("turning items in a text field into seprate variables")ui text box("Items:", #items)add list to list(%listitems, $list from text(#items, ","), "Delete", "Global")add list to table as row(&items, 0, 0, %listitems)set(#item1, $table cell(&items, 0, 0), "Global")set(#item2, $table cell(&items, 0, 1), "Global")set(#item3, $table cell(&items, 0, 2), "Global")comment("end") Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.