Yahoo interview question

What Linux command line tool would you use to perform string substitution?