add some string helper methods