Re: Split function or Join function: delimiter problem
From: Rick Rothstein (rickNOSPAMnews_at_NOSPAMcomcast.net)
Date: 07/07/04
- Next message: Russ Holsclaw: "Re: Split function or Join function: delimiter problem"
- Previous message: Paul Clement: "Re: Visual Basic 2005"
- In reply to: donotspam: "Split function or Join function: delimiter problem"
- Next in thread: donotspam: "Re: Split function or Join function: delimiter problem"
- Reply: donotspam: "Re: Split function or Join function: delimiter problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 13:43:49 -0400
> I'd love to know how to put parameters around a string that contains
quotation marks(a line from a text file that's a "|" delimited file as
in: "field"|"field"|"field").
>
> How can I code something like
>
> MyString = Parameter"field"|"field"|"field"Parameter
>
> so that VB 6.0 won't blow up every time it hits the string?
>
> I don't even know what parameters to use with the Replace function
when the item to be replaced is a quotation mark.
>
> Any solutions would be most appreciated.
>
> (my goal is to write lines from one text file to another -- export
from an external database has to be reformatted before importing to one
of ours. field values have to be reformatted or added to match the data
structure here)
Your Subject line talks about Split and Join while the body of your
message talks about Replace. Even assuming you are asking about all of
them, I'm afraid I'm still not following what you are trying to do.
Could you post a couple or three of **actual** lines from your text file
(cut and paste them) and then show us **exactly** what you would want
those lines to look like once they are changed? That will clue us in to
exactly what you want to do without getting lost in the verbal
description.
Rick - MVP
- Next message: Russ Holsclaw: "Re: Split function or Join function: delimiter problem"
- Previous message: Paul Clement: "Re: Visual Basic 2005"
- In reply to: donotspam: "Split function or Join function: delimiter problem"
- Next in thread: donotspam: "Re: Split function or Join function: delimiter problem"
- Reply: donotspam: "Re: Split function or Join function: delimiter problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|