For Ex : String = “15.2 % ad”
result = 15.2 (in double)
For Ex : String = “15.2 % ad”
result = 15.2 (in double)
search for digit
[0-9]
hi @Suastrian_Dika ,
Use the following the Matches activity: (.*)%, it should return you the data before %
Regards,
Aditya
regex simple:
Anchored
Assign Activity:
myDouble = CDbl(System.Text.RegularExprressions.Regex.Match(strText, strPattern).Value.Trim)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.