in reply to how to split input data ?
You could also use substr and loop through until you run out of characters.