some string functions working on the string object