去除字符串左边0

string result = str.TrimStart(new char[]{'0'});

posted on 2012-10-25 14:15  酒歌  阅读(560)  评论(0编辑  收藏  举报