-1
I am trying to complete an assignment, but I cannot figure out how to extract the middle name from a string my code looks like this. function extractName() { var completeName; var firstName; var middleName; var lastName; var spacePos; var tempStr; completeName = document.form1.comp...