use existring function for string