Hi all, I'm just starting to learn coldfusion and I'm looking for a function
or a way to capitalize the first character of words in a string. Can this
be done? Can someone help me with this?
Thanks
~~
Structure your ColdFusion code with
there are custom tags on allaire's website that can do this go check out the
developers section.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:21 PM
To: CF-Talk
Subject: Capitalize first characters
Hi all, I'm just starting
, September 13, 2001 10:21 AM
To: CF-Talk
Subject: Capitalize first characters
Hi all, I'm just starting to learn coldfusion and I'm looking for a function
or a way to capitalize the first character of words in a string. Can this
be done? Can someone help me with this?
Thanks
cfset newname = #Ucase(left(old_name,1))#
#mid(old_name,2,len(old_name)-1)#
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:21 PM
To: CF-Talk
Subject: Capitalize first characters
Hi all, I'm just starting to learn coldfusion
Web Site Developer
[EMAIL PROTECTED]
www.doceus.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:21 PM
To: CF-Talk
Subject: Capitalize first characters
Hi all, I'm just starting to learn coldfusion and I'm looking
To: CF-Talk
Subject: Capitalize first characters
Hi all, I'm just starting to learn coldfusion and I'm looking for a function
or a way to capitalize the first character of words in a string. Can this
be done? Can someone help me with this?
Thanks
, September 13, 2001 11:20 AM
Subject: Capitalize first characters
Hi all, I'm just starting to learn coldfusion and I'm looking for a
function
or a way to capitalize the first character of words in a string. Can this
be done? Can someone help me with this?
Thanks
-Talk
Subject: RE: Capitalize first characters
There's an example in an article that discusses User Defined Functions that
does just what you want. You can find the article at
http://www.sys-con.com/coldfusion/articleprint.cfm?id=270. HTH.
d
-Original Message-
From: [EMAIL PROTECTED
Thanks all.
I got it.
:)
-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 11:21 AM
To: CF-Talk
Subject: RE: Capitalize first characters
cfset newname = #Ucase(left(old_name,1))#
#mid(old_name,2,len(old_name)-1)#
-Original
9 matches
Mail list logo