Propercase Function 
Use this IdeaSpace to post ideas about Domino Designer.

: 10
: 16
: 6
: Domino Designer
: Propercase, Function
: Michael Amberg822 23 Nov 2007
:
: / Email
Please add a "Propercase" function to LotusScript. I know I can (and do) add my own function library or routines when coding but a built-in function would probably be faster and easier to use.



1) Slawek Rogulski9372 (23 Nov 2007)
I misread your idea at first and thought it was asking for LotusScript to be case sensitive.

As for the proper case function how about camel_case to round out the options?
2) Michael Amberg822 (23 Nov 2007)
Ok ... I have to ask ... whats camel_case
3) Robert Baehr280 (23 Nov 2007)
Greetings:

There is a propercase function in LotusScript - look up the following LotusScript function:

STRConv

Cheers!
The Unofficial Poster Child For Lotus Notes and Domino
4) Michael Amberg822 (23 Nov 2007)
I saw that one and tried it ... Strconv(nameString$, SC_ProperCase) ... i wanted a simple propercase() similat to ucase(), lcase().

which is easier ...

Call doc.ReplaceItemValue(Colprogname(i), Propercase(Fulltrim(Columnvalue(i))))

or

Call doc.ReplaceItemValue(Colprogname(i), Strconv(Fulltrim(Columnvalue(i)), SC_ProperCase))


5) Slawek Rogulski9372 (23 Nov 2007)
CamelCaseIsWhenYouDoThis
{ Link }
6) Bill Malchisky12192 (25 Nov 2007)
For consistency purposes, it makes sense. So, with "ucase()", and "lcase()", a "pcase()" function seems appropriate.
7) Michael Amberg822 (26 Nov 2007)
@5 I have been using that notation for years, I never new it had a name ;-)
8) Michael Amberg822 (26 Nov 2007)
@6 We might as well go a step further and ask for TitleCase "tcase()" ... each word in a string having its first letter converted to uppercase
9) José Manuel Rodriguez Moreno2615 (18 Apr 2008)
Strconv(nameString$, SC_ProperCase) do not behave the same when 'special' characters exist in the string, for example '-' in the word "Real-Time".

The proposed pcase() function would be an opportunity to make it behave like the formula @propercase() counterpart.










:
:

Welcome to IdeaJam


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>







IdeaJam developed by

Elguji Software Logo