How to remove all zeros from string's beginning?

c#, string

Solution

I would use TrimStart

string no_start_zeros = s.TrimStart('0');

Problem

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"; ```

Original source