Modify

#2193 closed Feature Request (Completed)

Addition to the String UDF

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

Description

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 on Apr 29, 2012 at 8:35:01 PM.
Demo script and UDF for _StringTitleCase

Download all attachments as: .zip

Change History (4)

by BrewManNH, on Apr 29, 2012 at 8:35:01 PM

Attachment: _StringTitleCase.au3 added

Demo script and UDF for _StringTitleCase

comment:1 by BrewManNH, on May 23, 2012 at 4:00:35 PM

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 by guinness, on Jan 15, 2013 at 10:08:45 PM

Owner: set to guinness
Status: newassigned

comment:3 by guinness, on Jan 16, 2013 at 1:40:28 PM

Milestone: 3.3.9.5
Resolution: Completed
Status: assignedclosed

Added by revision [7486] in version: 3.3.9.5

Modify Ticket

Action
as closed The owner will remain guinness.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.