Skip to content

StrConv with VbProperCase Does not Capitalise some words #117929

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


The words "to", "the" & "'n'" are not capitalised by StrConv with VbProperCase - but where is there a list of Words that are not capitalised by StrConv?


Original Comments

Feedback Bot on 6/9/2025, 11:39 PM:

Experimental AI response. Please check for accuracy.

Hi @Customer, I’m an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

  • StrConv’s ProperCase follows Windows/Unicode title-casing rules under the hood; there’s no published “exception” list you can reference.
  • For consistent behavior (and full control over which words stay lowercase), bypass StrConv and use:
    Dim ti = New System.Globalization.CultureInfo("en-US", False).TextInfo
    Dim result = ti.ToTitleCase(inputString)
    
    (see 10906545: Inconsistent Results From VbStrConv.ProperCase)
  • To handle specific words like “to”, “the” or “’n’”, post-process the output by comparing each word against your own exception list and adjusting casing as needed.

The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

Feedback Bot on 6/10/2025, 08:05 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions