Azzera filtri
Azzera filtri

Remove/replace ' i.e single quote from a sentance ...

13 visualizzazioni (ultimi 30 giorni)
asad' want to replace ' and obtain asad
need general code.
  1 Commento
Image Analyst
Image Analyst il 22 Lug 2014
azizullah, quit asking the same question in multiple threads. Now you have two answers to this in different places.

Accedi per commentare.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 22 Lug 2014
str='asad'''
out=strrep(str,'''','')
  3 Commenti
Azzi Abdelmalek
Azzi Abdelmalek il 22 Lug 2014
Ok, that's what the code do, just write
out=strrep(str,'''','')

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by