Skip to content
Advertisement

How parse url to array? [closed]

I have a string lists/listA/listB/listC/.... Please tell me how I can split the string to this view and write the result to an array:

JavaScript

Advertisement

Answer

Here is the solution:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement