* commit '129f1946a1bc32ac519334283538c9e24588e998': Prevent index out of bounds when using String.substring.