Add useful functions to strings