c# - How to remove all zeros from string's beginning? -
i have string beginning zeros:
string s = "000045zxxcc648700";
how can remove them string like:
string s = "45zxxcc648700";
i use trimstart
string no_start_zeros = s.trimstart('0');
Comments
Post a Comment