>Since reMatch() returns an array, I thought I could do this:
> 
>reMatch("[0-9]{7}", ";00002720?")[1]
> 

Yeah, it's an entirely logical thought, but annoyingly ColdFusion doesn't 
support directly accessing arrays from any function. :(


>Is there another solution so that I don't have to store the array in a
>temp variable just to get to the value?

Not ideal, but this works:
ListFirst(ArrayToList( FunctionReturningArray() )) 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313690
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