I need to extract one or more bytes from a string which may contain text or arbitrary binary data. How can I go about doing it? substr() looked good at first, but the perldoc says it works on characters, but I want bytes.
Any help is appreciated.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |