I am using the following to seperate words from a string. Example of the string would be "John Q Doe".
(Left(strName, InStr(strName, " " - 1)) returns "John"
(Mid(strName, InStr(strName, " " + 1)) returns "Q Doe"
How can I return only the "Q" without the "Doe"? In other words anything between the blank spaces?
Thanks in advance for your help.
Shannan
(Left(strName, InStr(strName, " " - 1)) returns "John"
(Mid(strName, InStr(strName, " " + 1)) returns "Q Doe"
How can I return only the "Q" without the "Doe"? In other words anything between the blank spaces?
Thanks in advance for your help.
Shannan