http://qs321.pair.com?node_id=653869


in reply to How to expand a string

This sounds like homework. People will be glad to help you when you show that you have thought a little about this problem.