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,'.')> )


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292847
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