in reply to Retain first 4 characters of a string
Have a look at split, map, substr and join.
Cheers,
JohnGG