Opened 12 years ago

Closed 11 years ago

#2193 closed Feature Request (Completed)

Addition to the String UDF

Reported by: BrewManNH Owned by: guinness
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: titlecase Title Case Cc:


As previously requested in ticket 2173 this is a modified version of _StringProper, it has been modified to return a Title Case string rather than a "Proper" string. Also, as requested by trancexx in ticket 2173, I am putting this in as a feature request rather than polluting the trak with confusing information. Currently, _StringProper doesn't return a properly formatted string if you're looking to make it Title Case, this replacement has been modified to have that functionality. Attached is the UDF and a short demo script to show its output.

Attachments (1)

_StringTitleCase.au3 (1.8 KB) - added by BrewManNH 12 years ago.
Demo script and UDF for _StringTitleCase

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by BrewManNH

Demo script and UDF for _StringTitleCase

comment:1 Changed 12 years ago by BrewManNH

I'd like to propose a secondary name for this UDF, as Title Case is so subjective in regards to usage. Instead of Title Case, I propose that it could be called Start Case, which is the style this is actually altering the incoming sentence into. According to the Wikipedia article on letter case, start case is the capitalization of the first letter of every word regardless of the part of speech of the word.

comment:2 Changed 11 years ago by guinness

  • Owner set to guinness
  • Status changed from new to assigned

comment:3 Changed 11 years ago by guinness

  • Milestone set to
  • Resolution set to Completed
  • Status changed from assigned to closed

Added by revision [7486] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain guinness.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.