You can't delete a string unless it's dynamically allocated, you can only make it empty.