I need to split string

Hi
I have to split string
“(`) 455.67” from this I only need 455.67
can anyone please help on this

Thank you in advance

Hi,

How about the following expression?

image

System.Text.RegularExpressions.Regex.Match(yourString,"[\d.]+").Value

Regards,

Hello @kaveri_satpute
Kindly try regex mentod instead of split

System.Text.RegularExpressions.Regex.Match(yourString,"[\d.]+").ToString.Trim

If you need split then tru this

Split(yourstring,")")(1).ToString.Trim

image

Hi @kaveri_satpute

Another Solution You can also try with Split expression

Split("(`) 455.67",")")(1)

image

Regards
Gokul

Thank you so much its working

@Gokul001 Thank you

Great @kaveri_satpute

Kindly close the topic by mark as solution. It will help for other user too

Regards
Gokul

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.