I think your code is just a tad too example specific. I doubt that in his real data the string will always be 9 characters. But it will always be a multiple of 3.
If it is always 9 characters, then your code is as good as an alternatives. update Wait a minute, did you just change your code? If not, I must have replied to the wrong node.
In reply to Re^2: Fast Way to Split String in to Chunk of Equal Length
by bart
in thread Fast Way to Split String in to Chunk of Equal Length
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |