in reply to How do I safely, portably extract one or more bytes from a string?

unpack would be an alternative.

Makeshifts last the longest.

  • Comment on Re: How do I safely, portably extract one or more bytes from a string?