Thanks Steve.
That is what I am going to have to do.
Jerry Johnson mentioned this in the first post.

I just thought that there might be a way to do both at one time with the
getToken or REFine Functions or the <cfloop> tag.

The documentation of the getToken function was misleading to me.

There was also a line in the documentation about the <cfloop> tag that
mislead me as well.

Now I am straight on this.

"Replace then Parse."  ;-)

Troy

DURETTE, STEVEN J (AIT) wrote:

> Sorry that I am getting into this late, but...
>
>
> Why don't you read the file into a variable then do: replace(myVar, "|||",
> "~", "All")  thereby changing your multi character delimiters to
> single char
> delims?
>
>
> Steve
>
> -----Original Message-----
> From: Troy Simpson [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2003 1:24 PM
> To: CF-Talk
> Subject: Re: Parsing a Unix Text File.
>
> Dave,
>
> Thanks for that confirmation.
>
> It is very frustrating to not know the solution,
> It is very liberating to know that the solution does not exist.
>
> Troy
>
> Dave Watts wrote:
>
> > > I presume that ColdFusion MX (6.1) does not have any way
> > > to parse text that uses multiple character delimiters, Right?
> > >
> > > So if I had a file that delimited the records by triple
> > > pipes "|||", there is nothing in ColdFusion that will let
> > > you do this, right?
> >
> > That is correct. You can specify a list of characters, but CF will
> > treat any
> > individual instance of those characters as delimiters.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/ <http://www.figleaf.com/>
> > voice: (202) 797-5496
> > fax: (202) 797-5444
> >
>   _____  
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to