$str = '0123456789abcdef';; print for unpack '(a4X3)' . (length($str)-3), $str;; 0123 1234 2345 3456 4567 5678 6789 789a 89ab 9abc abcd bcde cdef
In reply to Re: How can I split a string into chunks of 4 characters
by BrowserUk
in thread How can I split a string into chunks of 4 characters
by PetreAdi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |