operate string