Proper Case Fix

This is sort of a silly issue but it is bothering me. When I use .ProperCase on a string like “123 4th Street” it comes back as “123 4Th Street”. I need the first letter of each word to be capitalized because it is an address. But in the case of a numbered street, I would prefer if the suffix was not capitalized. Does anyone have a simple fix to correct this? Thanks

You can use an IF condition like this:
Char.IsDigit(MyAddressString, 0)

If true you do not use ProperCase :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.