hello guys I’m new to Ui path
question:-
Manoj
Sachin
Prem
Ravi
output:- {Manoj, Sachin, Prem, Ravi} or [Manoj, Sachin, Prem, Ravi]
need output like this so please help guys
hello guys I’m new to Ui path
question:-
Manoj
Sachin
Prem
Ravi
output:- {Manoj, Sachin, Prem, Ravi} or [Manoj, Sachin, Prem, Ravi]
need output like this so please help guys
In UiPath Studio, if you want to convert a string to a list in C#, you can use the following code:
string input = "Manoj,Sachin,Prem,Ravi";
List<string> list = input.Split(',').ToList();
However, UiPath Studio uses VB.NET as the default language for expressions. If you want to do this in VB.NET, here is the equivalent code:
Dim input As String = "Manoj,Sachin,Prem,Ravi"
Dim list As List(Of String) = input.Split(","c).ToList()
To use this code in UiPath Studio:
Assign Activity:
mySplitArray | String Array =
YourStringVar.Split(Environment.NewLine.ToCharArray, StringSplitOptions.RemoveEmptyEntries)
Attached the workflow of the process. Please check. Hope you will understand.
3.xaml (7.4 KB)
Hope it helps!!
Regards,
Thanks bro
Thanks bro
Thanks bro .
@manasdas6224
When it is working, so let’s close the topic by:
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum
can you please share the main.xaml file
Thanks brother for helping me
@manasdas6224
If you find the solution for your issue. Mark as solution to close the loop.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.