Fix string manipulation. Add example.