Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replace Speech Marks

Status
Not open for further replies.

JasGun

Programmer
Feb 28, 2001
12
GB
I have imported a text file from a in-house Database.
One of the fields has various speech marks before after and in between the string e.g.

"Help Me"
"""Help Me"""
""Help" Me"

I could write a write a proceedure to get rid of any other charaters apart from the Special characters.

Does anyone have any ideas.
 
If (VB6) Then
[tab]Replace this, that
Else
[tab]'Back to the old procedure
End If

MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
JasGun -

You can also use ADO command parameters, which will take care of not only the double-quotes, but single quotes " ' " as well.

I posted an example of this yesterday in this forum.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top