Split function and looping in for each

Hi Team,

I am Spliiting the array by “$”, but after putting into for each loop I am getting pervious valus also.

image

I need only output as 30.00 30.00 30.00 from loop

Hi,

I think perhaps you should use Matches activity with the following settings instead of split method in this case.

Input : strValue
Pattern : "(?<=\$)[.\d]+"
Result : value1 (as IEnumerable<Match> type)

Regards,

Hello,

I am getting this when I am running.

image

Hi,

Can you try as the following image?

TypeArgument of foreach should be System.Text.RegularExpressions.Match type

Regards,