Extracting a string before a space
<p>the name Subhajit Sinha is entered in  textbox.
how to extract only Subhajit in one textbox and Sinha in another textbox after clicking the Submit button in the form.</p>
