Remove/replace ' i.e single quote from a sentance ...
9 views (last 30 days)
Show older comments
azizullah khan
on 22 Jul 2014
Commented: Image Analyst
on 22 Jul 2014
asad' want to replace ' and obtain asad
need general code.
1 Comment
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.
Accepted Answer
Azzi Abdelmalek
on 22 Jul 2014
str='asad'''
out=strrep(str,'''','')
3 Comments
Azzi Abdelmalek
on 22 Jul 2014
Ok, that's what the code do, just write
out=strrep(str,'''','')
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!