Want to split the symbol in the value

I have a data like ₹1,198.

I want to remove ₹ and print like 1198.

I need the split method logic…

Thanks in Advance.

Here you go
Str_outout = str_input.ToString.Replace(“₹”,””).Replace(“,”,””)

Where str_input = “₹1,198”
And str_output is a string variable
Cheers @Ajith_143

2 Likes

Thanks

its working buddy

but want to works with split method

1 Like

Yah that’s possible either
str_output = String.Join(“”,Split(Str_input,”,”)).Replace(“₹”,””)

Cheers @Ajith_143

2 Likes

Thanks buddy it working…

1 Like

Great
Cheers @Ajith_143

You can parse the string to decimal

Decimal.Parse(“₹20,000.00”, NumberStyles.Any, new CultureInfo(“en-IN”))