added and extension to the string class"