how to remove some unwanted characters winthin a string
显示 更早的评论
Hello there,
I have a text file that contains the following line:
110;115;125;to;129;155
There could be no ';' or more than one ';' between number and 'to', for example
110;115;125to;;129;155 or 110;115;125;;;to;129;155
I want to remove the ';' between the number and 'to' and get below string:
110;115;125to129;155
Is there any simple solution to this?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!