Info
This question is closed. Reopen it to edit or answer.
How to remove (;) from a string?
2 views (last 30 days)
Show older comments
I have a string '[1;0;0;0;1;0;0;0;1;0;0;0;1;0;0;0;1;0;0;0;1;0;0;0]'
how to remove ';' so that I can get output as 100010001000100010001000
help me out
than you
0 Comments
Answers (1)
the cyclist
on 3 Oct 2019
If s is your string, then
s = regexprep(s,';','')
will remove the semicolons from it.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!