converting string to lower case
Hi, Can anybody tell me the DTML function that will convert (force) a string (or characters in a string) in upper case to lower case. I designed a form where i want user to enter a string value which i later used as a var name in my DTML method. I need this function because I don't want to tell my users that they should typed in lower case. Thanks in anticipation for your support. Hamzat kamal Dnet Systems Ltd. http://www.dnetsystems.net
<dtml-var "_string.lower('BLaBLA')"> ----- Original Message ----- From: "Hamzat kamal" <hamzatk@dnetsystems.net> To: <zope@zope.org> Sent: Thursday, September 06, 2001 09:35 Subject: [Zope] converting string to lower case
Hi,
Can anybody tell me the DTML function that will convert (force) a string (or characters in a string) in upper case to lower case.
I designed a form where i want user to enter a string value which i later used as a var name in my DTML method. I need this function because I don't want to tell my users that they should typed in lower case.
Thanks in anticipation for your support.
Hamzat kamal Dnet Systems Ltd. http://www.dnetsystems.net
_______________________________________________ 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 )
On Thu, Sep 06, 2001 at 11:58:00AM -0500, Andreas Jung wrote:
<dtml-var "_string.lower('BLaBLA')">
<dtml-var "_.string.lower('Foo')"> -- Table 4 in the DTML User's Guide. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
----- Original Message ----- From: "Mike Renfro" <renfro@tntech.edu> To: <zope@zope.org> Sent: Thursday, September 06, 2001 13:21 Subject: Re: [Zope] converting string to lower case
On Thu, Sep 06, 2001 at 11:58:00AM -0500, Andreas Jung wrote:
<dtml-var "_string.lower('BLaBLA')">
<dtml-var "_.string.lower('Foo')"> -- Table 4 in the DTML User's Guide.
Sure -Outlook ate the dot :-) Andreas
participants (3)
-
Andreas Jung -
Hamzat kamal -
Mike Renfro