That kinda works: it leaves a trailing space on the middle elements (i.e., '1 Cat ' instead of '1 Cat').
Of course, that may be immaterial to the OP -- can't tell.
In reply to Re^2: problems splitting string
by VSarkiss
in thread problems splitting string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |