String s = 000000001;
String e = 009999999;
将字符串转换000000001
为整数000000001
。
我试着用 Integer.parseInt 做这个
int n = Integer.parseInt(s);
我得到 n = 1,但我希望 n 应该有 000000001
for (int ind = Integer.valueOf(s); ind < Integer.valueOf(e); ind++) {
String pp = "ggg" + ind; // I want pp should be like this- ggg000000001 and it keep on increasing like ggg000000002, then ggg000000003 and etc etc.
}