removeLeadingZeros method
Implementation
String removeLeadingZeros() {
for (var i = 0; i < length; i++) {
if (this[i] != '0') {
return substring(i);
}
}
return '0';
}
String removeLeadingZeros() {
for (var i = 0; i < length; i++) {
if (this[i] != '0') {
return substring(i);
}
}
return '0';
}