in reply to Split string into equal parts

splitting a string into 4 equal parts separated by a space
You would need to get the length of the string and divide it by 4. However, your (not so) edge case is where you do not have a length that is a multiple of 4 (think wep keys).
How do you want to handle that?