Break multiple lines input into separated userinputs
cronorainbow
![]()
- Joined: Aug 25, 2011
- Posts: 7
Hello
I have a multiple line input form where user can enter information. I want to break each line into separated userinput like %line1%-->%userinput1%, %line2%-->%userinput2% and so on. How can i achieve this ?
Thanks
Samantha
![]()
- Joined: Apr 23, 2010
- Posts: 2326
You can use the Split Text action, to slit the %UserInput% variable into a list (using a new line as a delimiter), where you can then access each value using the %List% and defining the item of the list using an index: %List[0]% will give you the first item of the list %List[1]% will give you the second item of the list etc.. (note that lists are zero based in WinAutomation) :) Samantha
Login to post a reply Not a member yet? Register