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