Skip to content

strings: Title and ToTitle have similar names but do different things #37235

Description

Title returns a copy of the string s with all Unicode letters that begin words mapped to their Unicode title case.

ToTitle returns a copy of the string s with all Unicode letters mapped to their Unicode title case.

Ideally (Go2) they should have completely different names.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions