The string value is either too long to fit or the sub-string is incorrectly specified. An overflow can occur when a string becomes longer than 32767, longer than the declared length of the variable it is assigned to, or when a string becomes too long for the internal buffers used in an operation.