khn
(hyungnam)
May 29, 2022, 11:34am
1
hi,
i’m new user of UiPath
i want to know how to split information and send it to optional item in web form
ex “bus, car, plane”
i want to get all the information and select the item on form.
so there will be 3 item checked on the form
please need your advise.
thank you.
@khn
Find the work flow and expression used:
input.split(","c)
Pass the input to for each loop.
Sequence.xaml (6.8 KB)
1 Like
khn
(hyungnam)
May 29, 2022, 12:38pm
3
HI vaibhav, thank you for the solution,
i have following the step, since the input is data in excel here is mine :
Test = “Bus,Car,Plane” → Transport = Row(“Transport”).toString
and you’re using for each item for split.
since i’m going to use click function for select in web form,
before, the selection is :
“”
so after we split, i changed the “+Transport+” with “+item+”
but it become error
do you have any solution?
@khn
Can you share the excel file and the scenario.
jpbelchote
(João Pedro Oliveira Belchote)
May 29, 2022, 4:05pm
5
In this case, the split separator would be “,” instead of a blank space.
The result will be an array: {“Bus”, “Car”, “Plane”}. You can isolate these variables or assign it to another variable to be placed in your form.
1 Like
@jpbelchote
You can use the regex for getting the results.
2 Likes
system
(system)
Closed
June 2, 2022, 6:45am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.