try ListToArray(content,chr(12))
----- Original Message -----
From: "Wallick, Mike" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 28, 2002 10:54 AM
Subject: Complex List Delimiter
> Quick question for you gurus out there....
>
>
> I want to use a text delimiter for my content that's in a database. I want
> to use [pagebreak] as the delimiter. In php, I would use:
>
> // Split the text into an array of pages
> $textarray = split("\[pagebreak]", $content);
>
> However, in ColdFusion, ListToArray(content, "[pagebreak]") (or some
similar
> function) is interpreted as any of the characters in the [pagebreak]
string
> could be a delimiter (i.e. [ p a g e b r e a k ]).
>
> Any ideas?
>
> mike wallick
> * web application developer
> * [EMAIL PROTECTED]
> * 651.628.5377
> * http://www.securecomputing.com
>
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists