asad' want to replace ' and obtain asad
need general code.

1 件のコメント

Image Analyst
Image Analyst 2014 年 7 月 22 日
azizullah, quit asking the same question in multiple threads. Now you have two answers to this in different places.

サインインしてコメントする。

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 7 月 22 日

0 投票

str='asad'''
out=strrep(str,'''','')

3 件のコメント

azizullah khan
azizullah khan 2014 年 7 月 22 日
there is single quote with asad like str='asad'' i want to remove single quote...
Lucas
Lucas 2014 年 7 月 22 日
a = 'asad'''
a(a == '''') = []
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 7 月 22 日
Ok, that's what the code do, just write
out=strrep(str,'''','')

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by