Please Help!

newSnip
If I want to remove the Rupee sign (which is written exactly before 275), then what should be the command??

try this-

outputText.trim.Split().Last

Hi,

Hope the following helps you.

yourSrting = yourString.Replace("₹","")

or, if you want to remove any currency symbol, the following will work.

yourString = System.Text.RegularExpressions.Regex.Replace(yourString,"\p{Sc}","")

Regards,

1 Like

Thank you. It worked !!!

1 Like