How to remove all zeros from string's beginning ?

Posted by hsz on Stack Overflow See other posts from Stack Overflow or by hsz
Published on 2010-04-27T18:05:43Z Indexed on 2010/04/27 18:13 UTC
Read the original article Hit count: 409

Filed under:
|
|

I have a string which is beginning with zeros:

string s = "000045zxxcC648700";

How can I remove them so that string will look like:

string s = "45zxxcC648700";

© Stack Overflow or respective owner

Related posts about c#

Related posts about string