Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to remove (;) from a string?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
the cyclist
2019년 10월 3일
If s is your string, then
s = regexprep(s,';','')
will remove the semicolons from it.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!