Remove some portion from a sentance...

1 vue (au cours des 30 derniers jours)
azizullah khan
azizullah khan le 22 Juil 2014
Commenté : Joseph Cheng le 22 Juil 2014
  2 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 22 Juil 2014
This is not clear
azizullah khan
azizullah khan le 22 Juil 2014

Connectez-vous pour commenter.

Réponse acceptée

Geoff Hayes
Geoff Hayes le 22 Juil 2014
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 commentaire
Joseph Cheng
Joseph Cheng le 22 Juil 2014
if there are additional erroneous ' in there you could do,
urlStr(strfind(urlStr,''''))=[];

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by