Use the “Assign” activity to create a variable of type String[] (an array of strings). Let’s call it numbersArray and set its value using the “Split” method to split the inputText based on spaces.
numbersArray = inputText.Split(" "c)
Use a “For Each” activity to loop through the numbersArray
Hey @Suniagoz ,
You can break the input text to a list or an array by using string manipulation functions such as Spilt.
In this case You spilt the input text based on spaces and you get an array or list
Then iterate through it
for ex
:After splitting your input list will be {203823, 624, 799, 236, 397, 50}
Use the split function to split the values by using space and store it in to a array.
Use build datatable activity to build one datatable. In that datatable create a column with any column name.
Iterate the array variable which stored the splitted data and data to the each row by using add data row activity.
I have developed the workflow for your reference. Check the below image and attached xaml file.
Convert matches to array by using this expression:
Arr_str = (From m in matches.Cast(of Match).ToArray()
Select Convert.ToString(m)).ToArray()
or
Directly use split function to split the data by spaces and store it in an array.
2. Use for each loop to iterate through the array and use write cell activity in the loop.