The simplest is probably trim(listGetAt(myString, 1)),
trim(listGetAt(myString, 2)), and trim(listGetAt(myString, 3))

Matthew Walker
ESW
http://www.electricsheep.co.nz/

> -----Original Message-----
> From: Mitko Gerensky-Greene [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 10 December 2002 2:18 p.m.
> To: CF-Talk
> Subject: String trimming questions
> 
> 
> Hello,
> 
> I have a string like this:
> 
> 6BPH, [EMAIL PROTECTED], Albuquerque;
> 
> How can I trim the string so that it results into three 
> separate strings --
> each of the pieces separated by a comma? The semicolon is the 
> delimiter for
> the list in which the cited string is only one element.
> 
> Thanks,
> 
> Mitko
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to