Splitting the string using regular expression or string split
이전 댓글 표시
'a_bb_ccc_ddd_eeeeee_ffff_gg_h_i'
I have a string like this.
I need to split the string as
a_bb_ccc
ddd_eeeeeee
ffff_gg_h_i
how to use the regular expression or stringsplit in order to get the above output?
댓글 수: 3
Michael Haderlein
2015년 5월 5일
Could you please explain why the splitting points are where they are? It seems to be some of the underscores, but how to decide which ones?
Gopalakrishnan venkatesan
2015년 5월 5일
Gopalakrishnan venkatesan
2015년 5월 5일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!