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.
}