[Zope] Proper Case function

Tino Wildenhain tino@wildenhain.de
Mon, 07 May 2001 01:38:21 +0200

Hi Tommy,

zope is built with python. You do a lot easyer, if you
learn python. Quick with the tutorial and then keep the
"library reference" under your pillow.

However, the function you are looking for is
called "capitalize". It is part of the string modul, so
in dtml, it would be reachable by "_.string.capitalize(yourstring)"

Tino Wildenhain

--On Samstag, 5. Mai 2001 19:09 -0800 Tommy Johnson <astlj@hotmail.com> 

> Hello all,
> I'm looking for a proper case function --> something that will return the
> string "Category" from the string "category". It doesn't have to worry
> about if the string is a proper name, but that would be nice. I'm just
> trying to figure out if a function exists that will capitalize the first
> letter of a string (or if I have to script something).
> Thanks in advance,
> Tommy
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )