remove the first 2 char of a string
14 次查看(过去 30 天)
显示 更早的评论
I am new to Matlab and guess this will be EASY for someone...
I have
','B132-32','B134-22','S132-11','D532-32'
And I would like
'B132-32','B134-22','S132-11','D532-32'
Basically removing the first
',
How can i do this?!
0 个评论
采纳的回答
Stephen23
2021-4-1
What you show is a character vector, not a string. Which makes this easy using indexing:
c = ',''B132-32'',''B134-22'',''S132-11'',''D532-32'
c(1:2) = []
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!