Could someone elaborate as to why the following code does not work? It is not flagged names that are last name, first name. Thank you.
Swi
Code:
'-- pick apart name by removing prefix,
' suffix, and title
strName = Trim(fncExtractSuffix(strName))
strName = Trim(fncExtractPrefix(strName))
strName = Trim(fncExtractTitle(strName))
mobjRegExp.Global = True
'-- check for last, first combo (Doe, Jo
' hn) ----
mobjRegExp.Pattern = "[^ \f\n\r\t\v\,]+\,\s+\S+ "
If mobjRegExp.Test(strName) = True Then
Call subParseLastFirst(strName)
Swi