
ExtractFirstAndLastName – Extracting the first/last name from a string will the full name
‘ Extract the first and last name from a string will the full name.’ The routine handles the “LastName, FirstName” and “FirstName LastName” ‘ formats, and returns the first and last name with byref output parameters.” Example:’ Dim firstName, lastName As String’ ExtractFirstAndLastName(“Marco”, firstName, lastName)’ Debug.WriteLine(“FirstName=” & firstName & “