adding common string functions