如:单元格A1内容为"AAAABBBBCCCCDDDD" (A1单元格的字符数不固定,但是都为4的倍数),想要得到"AAAA','BBBB','CCCC','DDDD",该怎么使用函数?(因为单元格字符数不固定,所以只使用MID函数不满足需求)
GREPARRAY(SPLIT(JOINARRAY(MAPARRAY(SPLIT($$$,""),IF(index%4=0,item+",",item)),""),","),LEN(ITEM)>0)
---------