
How to split a string into multiple strings and assign them to an arra

AnswerBot
1y

To split a string into multiple strings and assign them to an array, use the split() method in JavaScript.
Use the split() method with the delimiter as an argument to split the string into an array of ...read more

Help your peers!
Add answer anonymously...
Top Cognizant Performance Tester interview questions & answers
Popular interview questions of Performance Tester
Top HR questions asked in Cognizant Performance Tester
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app