Похожие чаты

I have string like "Tom, Jerry (10,20)" and

I want that string to array like [10=>Tom, 20=>jerry]

Any way for this?

2 ответов

8 просмотров

Please format the code you posted, by wrapping it in triple backticks. -> `

you could use regex to split the string into component parts

Похожие вопросы

Обсуждают сегодня

Карта сайта