Question: I tried splitting the string, but it would not let me convert it over to html 3. Use indexOf0 and substr0 or substring0 to divide

I tried splitting the string, but it would not let me convert it over to html
3. Use indexOf0 and substr0 or substring0 to divide your name into two strings-firstname and lastname We're going to use some basic built-in string functions to manipulate a string: your name. Modify the code in the js/hw2SplitString.js file to output the first and last name separately into the page below. Your code should work for any name entered. See the JS file for more on what input validation is expected is my full name. Split my name! Placeholder first name is my first name Placeholder last name is my last name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
