Added charactersInString()