Remove leading zeros from string
El sábado, 13 de octubre de 2018, 6:08:39 (UTC-5), Tatsujin escribió:
Suppose I have a string like this:
"32 01 22 88 03"
I need to remove all the leading zeros in the string. The result should be:
"32 1 22 88 3"
What's the easiest way to go about this? Thanks!
Mr. T
?Replace("32 01 22 88 03", "0", "")
|