how to remove of single quote from a string?

25 views (last 30 days)
I am having a string s=' ttt'ppPPrrr'; now I want to remove that single quote in between the string

Accepted Answer

Walter Roberson
Walter Roberson on 12 May 2015
s(s=='''') = [];

Sign in to comment.

More Answers (0)


Find more on Characters and Strings in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!