Skip to content

IMPROVEMENT/BUG: Unwanted Decapitalization in strings #3

@praneetmehta

Description

@praneetmehta

Using string.capwords() does convert first letter of word to caps, but also deCaps all other letters in the same word. If a song title is all caps, this does not works properly. So to solve this, write a utility function.

  1. It should capitalize the first letter of all words in the string.
  2. Should not affect any other letter of the words except the first.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions