What are you expecting to happen? Do you want to return multiple indexes from those multiple spaces? Maybe you could find and replace spaces with a tilde (~) or something, then use that as your new delimiter?
-----Original Message----- From: Chris Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 9:38 AM To: CF-Talk Subject: listQualify and multiple spaces I'm trying to parse a .txt file using the built-in java reader and have come across an issue where I need to qualify a list based on multiple spaces on a line. For instance, LANCASTER MS BAND JAMES GUENGERMAN The qualifier will be between "Band" and "James". There are over 10,000 records that will be read in this method, so there is no set number of spaces between the two strings. Any help is greatly appreciated! Chris Martin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287448 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

