Groovy substring index out of range July 8, 2019 16 32 64 128 Index in java Index of function in java