by Joe Anzalone (3 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 5th March 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Parse a string
String1 = "John User"
strPos = InStr(String1, " ")
One = Mid(String1, 1, strPos - 1)
Two = Mid(String1, strPos + 1)
MsgBox One
MsgBox Two
End Sub