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!