> Also, don't forget that list functions ignore empty
> delimiters (by default), so can just do:
> 
> <cfset FirstNumber = ListFirst( CurrentLine , 'x_' )
> />

Quite possibly. But only if the value of "x" is known and is not repeated 
elsewhere within the string. Otherwise the results might be unpredictable.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346552
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to