Hi All,
I have a String value (1112131415) that I converted into a char array.
I want the first character like 11 into a cell, the second character 12 and so on until the end.
I can’t think of a way to break it.
Thanks in advance for any help!
Hi All,
I have a String value (1112131415) that I converted into a char array.
I want the first character like 11 into a cell, the second character 12 and so on until the end.
I can’t think of a way to break it.
Thanks in advance for any help!
Hi
If the string is sited in variable
strinput = “1112131415”
Then we can use WHILE LOOP with this condition
Counter < strinput.ToString.Length
Where counter is a variable of type int32 with default value as 0 defined in the variable panel
—inside the loop use a ADD TO COLLECTIONS activity Where in the collections property mention as list_value of type System.Collections.Generic.list(of string) with default value as New List(of String)
And in item property mention as
strinput.ToString.SubString(counter,2)
Next to this add to collections activity use a assign activity like
counter = counter + 2
Cheers @ashish_manoja
Thanks for the reply. @Palaniyappan
but I have an error in Item property that’s " Value of String can’t be converted to System.Collections.Generic.list(of string) " ??
when I run the process then my output comes 11 11 11 11 11 but I want output like (11 12 13 14 15)
Thanks in advance. @Palaniyappan
Here you go with the xaml for this
it worked for me
ashish.zip (9.6 KB)
Cheers @ashish_manoja
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.