.Net Removing all the first 0 of a string
Posted
by Melursus
on Stack Overflow
See other posts from Stack Overflow
or by Melursus
Published on 2010-06-02T14:56:52Z
Indexed on
2010/06/02
15:14 UTC
Read the original article
Hit count: 175
I got the following :
01.05.03
I need to convert that to 1.5.3
The problem is I cannot only trim the 0 because if I got :
01.05.10
I need to convert that to 1.5.10
So, what's the better way to solve that problem ? Regex ? If so, any regex example doing that ?
© Stack Overflow or respective owner