Hi,
using test.Split(" "c).Count.Tostring this function i am retrieving the number of words in a line but i get the output in a variable which is a type of string, But i need this to pass in an for each activity so i neeed to change the string to a list how could i do this
1 Like
Try like this @soumi_soumiya take one variable of type array od strings the assign value like this test.Split(" "c) and then use that variable in in for each
1 Like
thanks for your reply
I did it but i am facing an error that only one time the for each activity works it should loop till the loop fails but i fails at first run
Thank you monika
1 Like
pdf.Split({Environment.NewLine}, StringSplitOptions.None).Count.ToString
now how could i change this so that i could pass it for each
StrArray= pdf.Split({Environment.NewLine}, StringSplitOptions.None).ToArray
Pass this StrArray in for each …
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.