here goes ;-)

<cfset MyString = "AUTHOR='GIESEMAN','SMITH', ABSTRACT='CAT','DOG','FISH'">

<cfset AuthorChunk = ListGetAt(MyString,2,"=")>
<cfset AuthorList = Replace(AuthorChunk,", ABSTRACT","","ALL")>
<cfset AuthorList = Replace(AuthorList,"'","","ALL")>

<cfset AbstractList = ListGetAt(MyString,3,"=")>
<cfset AbstractList = Replace(AbstractList,"'","","ALL")>

AuhtorList should now be GEISEMAN,SMITH
AbstractList should now be CAT,DOG,FISH

Then just loop over each list and create your SQL ;-)

Cheers


Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203112
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to