Remove some portion from a sentance...

2 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 7 月 22 日
This is not clear
azizullah khan
azizullah khan 2014 年 7 月 22 日

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

 採用された回答

Geoff Hayes
Geoff Hayes 2014 年 7 月 22 日

0 投票

Since the single quote appears at the end of the string, then just remove that last character
urlStr = 'http://www1.interactivebrokers.ch/contract_info/index2.php?action=Details&site=GEN&conid=81578645''';
urlStr = urlStr(1:end-1);

1 件のコメント

Joseph Cheng
Joseph Cheng 2014 年 7 月 22 日
if there are additional erroneous ' in there you could do,
urlStr(strfind(urlStr,''''))=[];

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

その他の回答 (0 件)

カテゴリ

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by