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

9 views (last 30 days)
asad' want to replace ' and obtain asad
need general code.
  1 Comment
Image Analyst
Image Analyst on 22 Jul 2014
azizullah, quit asking the same question in multiple threads. Now you have two answers to this in different places.

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 22 Jul 2014
str='asad'''
out=strrep(str,'''','')
  3 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 22 Jul 2014
Ok, that's what the code do, just write
out=strrep(str,'''','')

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!