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

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

1 个评论

azizullah, quit asking the same question in multiple threads. Now you have two answers to this in different places.

请先登录,再进行评论。

 采纳的回答

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

3 个评论

there is single quote with asad like str='asad'' i want to remove single quote...
Ok, that's what the code do, just write
out=strrep(str,'''','')

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by