Hi everyone, I'm new here so sorry if this is in the wrong place. 
I am currently using VB.net and am having trouble splitting a text input.
Basically, a user types their first & last name into a single text box. I want to save their first name in a variable, and their last name in another variable.
I am trying to do this using the InStr method but am having difficulties. There is a space between the 2 names so I am using the InStr method to detect this but it's not working. Would anyone be able to help me?
Thanks for reading! Aaron R.
I am currently using VB.net and am having trouble splitting a text input.
Basically, a user types their first & last name into a single text box. I want to save their first name in a variable, and their last name in another variable.
I am trying to do this using the InStr method but am having difficulties. There is a space between the 2 names so I am using the InStr method to detect this but it's not working. Would anyone be able to help me?
Thanks for reading! Aaron R.