added string functions

added string functions