> Try: > <cfset emailList = Replace(emailList,"||","| |","ALL)>
<cfset emailLIST = ListAppend(emailLIST,Replace(fromARRAY,"||","|*|","ALL"),"|")> If I do the above, it works if the *middle* element is missing - but still errors if the first or last element is missing. I think I'm going to take a different route. Since I know each list should have 3 elements if formatted correctly: <cfif ListLen(emailLIST,"|") NEQ 3> Forget doing anything... </cfif> If the list isn't formatted exactly like they've said it would be, it won't process it ... Takes care of it once and for all! -- Les Mizzell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186572 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

