sorry for the redundance; my email client didn't pull in the other cf-talk responses 'til after i had already sent it. damn the dark side. so anyways; yeah. multicharacter delimiters would be a major bonus to cf. i don't know why they didn't just allow for a comma delimited list of delimiters when they built their list function; i can only assume the architecture of their string processing engine wouldn't allow for variable length delimiters, although it's easy enough to write such an engine using regular expressions. tis how i wrote my dictionaryreplace function vb at least. ack. phoo. thanks for staying positive. peace homey!
-brendan avery > -----Original Message----- > From: tom muck [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 23, 2002 17:26 > To: CF-Talk > Subject: Re: split (pardon my crap but this is french) > > > Stomp away. I've been corrected 4 times now, admitted the > error of my ways, > and posted a function that will do the split like a vb split > function. Do > you forgive me? ;-) > > I assumed that because I had it working like this in a page, > that it was > correct. I do it like that in VB, and assumed it to be similar in CF. > > tom > > "Brendan Avery" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hey hey hey now. microphone check it, yo. i'm gonna have > to strap on > > my > > correction boots and do a little stomp-down; > > > > the ONLY reason your example worked is that the delimiters are CASE > > sensitive. what really happened is that <,>,P, and I all delimited > > empty > > string values when in sequence, so those values were not appended to > > the > > array. HOWEVER, try changing your myvar to this and watch what > > happens: > > > > <cfset myvar="USE<P><P><I>THESE<P><P><I>DELIMITERS"> > > > > then scratch your head and go take so more french classes. > > > > *smooches* > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists