my problem is this: I have an url, for example "www.example.com/index.html?w=100&h=200&url=http//www.example2.com".
I need to take number 100 and number 200 and insert it into two different variables. How can i do? Thanks!
Asked
Active
Viewed 23 times
0
-
Well, is it java or Javascript? – Tacolibre May 31 '17 at 10:28
-
it is Javascript! – Francesco May 31 '17 at 10:30
-
@Francesco https://stackoverflow.com/a/901144/8062856 hope this might help you – Krunal Limbad May 31 '17 at 10:32
-
i think that would be better substring and indexOf but how can i formulate the code? – Francesco May 31 '17 at 10:52