Hi All,
I need to modify the value from (17,039.66) to 1703966
please help to convert the above value to 1703966
Hi All,
I need to modify the value from (17,039.66) to 1703966
please help to convert the above value to 1703966
Hello @shruthi_arali , Try replace method
YourStr=17,039.66
YourStr.Replace(",","").Replace(".","")
YourStr=(17,039.66)
YourStr.Replace(",","").Replace(".","").Replace("(","").Replace(")","")
Also Try Regex replace method
System.Text.RegularExpressions.Regex.Replace(YourStr,"\W","")
str_Variable=System.Text.RegularExpressions.Regex.Replace(“(17,039.66)”,“[(),.]”,“”)
You can try with regex also
Hello @shruthi_arali
Thanks & Cheers!!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.