Simlple manipulation with input string