In_strNetTotal holds string value
In_strNetTotal = “€289.24” so I want to cut only first part of string which is € and only want 289.24…what I need to do…
€ here any kind of sign is possible…so want to remove this
In_strNetTotal holds string value
In_strNetTotal = “€289.24” so I want to cut only first part of string which is € and only want 289.24…what I need to do…
€ here any kind of sign is possible…so want to remove this
Hi,
You can use replace method:
In_strNetTotal.Replace("€", "")
Will return the string without the “€”
Regards
Check below for your reference
It will leave one character and starts from 2nd
If you need only to replace if € is in the string then as suggested @AdryGL.96 you can use Replace
Hope this may help you
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.