in reply to Re: How do I pull n characters off the front of a string?
in thread How do I pull n characters off the front of a string?
The four parameter substr is clearly the cleanest solution though.($chars, $string) = unpack "a$n a*", $string;
Makeshifts last the longest.
|
|---|