Remove some portion from a sentance...

1 view (last 30 days)

Accepted Answer

Geoff Hayes
Geoff Hayes on 22 Jul 2014
Since the single quote appears at the end of the string, then just remove that last character
urlStr = '''';
urlStr = urlStr(1:end-1);
  1 Comment
Joseph Cheng
Joseph Cheng on 22 Jul 2014
if there are additional erroneous ' in there you could do,

Sign in to comment.

More Answers (0)


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!