拆分字符串并放入数组的简单方法是什么?这是我的字符串
aa_bb__cc_dd
我想将它们放在这样的数组中:
array[0] = "aa" array[1] = "bb" array[2] = "" array[3] = "cc" array[4] = "dd"
bash
bash ×1