<-- Previous || Up || Next -->

Last Name 1st To 1st Name 1st Function
String Words Class

Public Function LastName1stTo1stName1st( _
    ByVal vName As Variant _
    ) As Variant

"Last-name-first To First-name-first"
Converts a name from last-name-first form into first-name-first form.
Strings not containing either one or two commas are returned unchanged.

Examples:
    LastName1stTo1stName1st("Doe, John") = "John Doe"
    LastName1stTo1stName1st("Doe, John, Jr.") = "John Doe, Jr."
    LastName1stTo1stName1st("Doe, John J., D.D.S.") = "John J. Doe, D.D.S."
See also:
    DictionaryOrder Function
vName: String containing the proper name which is to be changed from last-name-first form into first-name-first form. Function returns Null if vName is Null or cannot be fixed up to a String.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.