I have to determine, as quickly as possible, which key contains the longest substring that is contained in the response text that this service has provided.
Do you mean to say that they do not just truncate, but send random chunks from the middle of the error text? And are they inconsistent in which chunk of the error text they send for each code?
In Section
Seekers of Perl Wisdom