Posted on: 5/7/2012 4:22:26 PM | Views : 248

Hi,
I have a string like the following:  John Wayne
I need to be able to parse through the string and extract "John" and "Wayne".
Example:
Dim str1 As String = "John Wayne" Dim strLeft As String = str1.Index(Left, " ") Dim strRight As String = str1.Index(Right, " ") ''''''''I assume that strLeft would catch anything to the left of my space (" "). ''''''''I assume that strRight would catch anything to the right of my space (" ").


Does anyone know how to do this?
Thanks.



...

Go to the complete details ...