Simple string manipulation

Here is a list of code snippets for string manipulation