IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#32711 - 09/03/09 01:02 PM Changing Case
PRT_Glenn Offline
OL Toddler

Registered: 06/25/07
Posts: 43
Loc: Tumwater WA
I know there are UPPERCASE and lowercase functions that work great.

Is there a Title Case function that works in the same way?

If not is there an easy way to do this?

I have a field that can be up to 200 characters long, with varying number of words.

Top
#32712 - 09/08/09 10:16 AM Re: Changing Case
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
PRT_Glenn,

We have a TitleCase function in our custom functions libraries. Take a look at these:

http://www.objectiflune.com/OL/en-CA/Dow...Cat=PressTalk#1

The "strings" functions should contain it. Extract the .pptl file somewhere on your hard disk(anywhere you want). Then in Design, go to Tools->Global Function Library Manager. Then, go to File->Manage Folders, and open the folder where you've saved the .pptl file. A list of the available functions should appear. Drag the TitleCase function from left to right, click OK, and you can now use it as a global function.

I recommend that you import all strings functions, in case there are dependencies between them. Also, because it's a global function, it needs to be preceded by an "@" when you call it.

Hope that helps.

Regards,
Rapha

Top
#36737 - 07/28/11 08:19 AM Re: Changing Case [Re: Raphael Lalonde Lefebvre]
JulieK Offline
OL Newbie

Registered: 02/23/11
Posts: 7
Loc: Tampa, FL
How would one keep names such as O'Donal, O'Reilly, O'Mally with the first letter subsequent to the apostrophy capital when using Title case.
Thank you for you help
Julie
:-)

Top