Possible Duplicate:
Partition string into chunks
How can I split a string into sub strings of length n? For example I have a string
"ABCDEabcde1234"
I would like to split it into
{"AB", "CD", "Ea", "bc", "de", "12", "34"}
How can I achieve this? I have looked at the StringSplit[] documentation but that seems like it only works for splitting a string by character, not length.
Partition[]andCharacters[]. – J. M.'s missing motivation Oct 03 '12 at 18:11StringCases[..., _~~_], for instance – rm -rf Oct 03 '12 at 18:31