This question already has answers here:
How to split a string with angularJS (4 answers)
Closed 5 years ago.
I wanted to split a string and get the string in two parts.
for example:
www.medicoshere.com/register.html?23457cedlske234cd
i wish to split the string in the above url and store the string that is after the ? to a variable. How can i do that.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)