in reply to How to split a string into chunks of length n or less

join(' ', unpack("(A16)*", $string))