Vivek Modi
11/24/2021, 4:45 PMval string = "000010" or val string = "010" to get only 10ephemient
11/24/2021, 4:47 PMstring.trimStart('0')Vampire
11/24/2021, 4:49 PMstring.replaceFirst("^0++".toRegex(), "")
but trimStart is better of courseVivek Modi
11/24/2021, 5:17 PMVivek Modi
11/24/2021, 5:17 PM