Read the depot prefix on a damaged label
StringIndexOutOfBoundsException
strlen before substr
Length check before slicing
String#length before slicing