I have a string array like this
vantha $67
swetha ate $78
yuvi amount have $09
And I need to get the value after the $ in the array
like this output
67
78
09
I have a string array like this
vantha $67
swetha ate $78
yuvi amount have $09
And I need to get the value after the $ in the array
like this output
67
78
09
Hi,
Hope the following helps you.
arrStr={"vantha $67","swetha ate $78","yuvi amount have $09"}
resultArray = arrStr.Select(function(x) System.Text.RegularExpressions.Regex.Match(x,"(?<=\$)\d+").Value).toArray()
Regards,
Thank you, It Works!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.