I'm trying to recreate something like the following:
by concantanating some strings but this obviously isn't working.
Does anyone know of a way how I can convert a string into an actual array please?
Code:
['','Option', 'OPTION1',
['', 'OptionA, 'OPTIONA',
['', 'OptionB', 'OPTIONB'],
['', 'OptionC', 'OPTIONC']
],
]
by concantanating some strings but this obviously isn't working.
Does anyone know of a way how I can convert a string into an actual array please?