G
Guest
ProperCase for normal usage is simple:
Dim s, s1, s2 As String
s = "DENNIS TURNER"
s1 = StrConv(s, VbStrConv.ProperCase)
Even with names it's simple Turner, Dennis
Turner, Mr. Dennis
But thereafter it can become more complicated:
Turner, Dennis Md
Turner, Dennis Phd
I can go through the 10 or 15 most likely suspects and handle them with
select case statements. However, I feel I am reinventing the wheel.
Somewhere, someplace, somebody must have created a class that already
handles a great number of these annoyances. I would appreciate being
directed to it.
Thank you.
Dennis
Dim s, s1, s2 As String
s = "DENNIS TURNER"
s1 = StrConv(s, VbStrConv.ProperCase)
Even with names it's simple Turner, Dennis
Turner, Mr. Dennis
But thereafter it can become more complicated:
Turner, Dennis Md
Turner, Dennis Phd
I can go through the 10 or 15 most likely suspects and handle them with
select case statements. However, I feel I am reinventing the wheel.
Somewhere, someplace, somebody must have created a class that already
handles a great number of these annoyances. I would appreciate being
directed to it.
Thank you.
Dennis