How to split an array into smaller arrays separated by ""?
I have an array which looks like this:
`[
'1000', '2000', '3000',
'', '4000', '',
'5000', '6000', '',
'7000', '8000', '9000',
'', '10000'
]
`
I need arrays which would look like this:
` ['1000', '2000', '3000',]
[ '4000']
['5000', '6000' ]
['7000', '8000', '9000']
[ '10000']
`
Any help is useful