On Aug 30, 2006, at 3:42 AM, Dr.Ruud wrote:
Aaargh, I was suddenly mixing up split /()/ and /()/g. I really
shouldn't post anymore without testing.
Thank you all for the clarifications regarding split(). I should pay
more attention when I read the documentation (or get more sleep).
-Hien.
Hello,
Given the string 'abcdefghijklmnopq', I wish to add a line break
every 5 characters:
abcde
fghij
klmno
pq
Method 1 below works, but my split() in method 2 captures 'something
unexpected' at each match. Could someone please tell me what is split
capturing that I am not seeing?
Th