>From what you're saying, you probably might not need Regex. How about 
>GetToken? 

<cfset SearchField = "Joe Bloggs">

<cfset var1 = GetToken(trim(SearchField), 1, " ")>
<cfset var2 = GetToken(trim(SearchField), 2, " ")>

Am I barking up the wrong tree?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to