Thanks, Todd...

Can you explain the '^\w' part?

Rick

> -----Original Message-----
> From: Todd [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 07, 2007 12:08 PM
> To: CF-Talk
> Subject: Re: How do I get the characters after the last period in a string?
> 
> Regex example would be:
> 
> <cfset blah = "asdflasdfasdfasdf.jpg">
> <cfdump var="#rematchNoCase('^\w*',blah)#">
> 
> On Nov 7, 2007 11:57 AM, Todd <[EMAIL PROTECTED]> wrote:
> 
> >
> > Plenty of things to do here.
> > 1.) Use regular expression.
> > 2.) Treat the string as a list using the "." as a delimiter (e.g.: <cfset
> > name = listFirst(varname,'.')> )
> 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to