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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove quotations mark

Status
Not open for further replies.

Stephon98caffe

Programmer
Feb 18, 2005
25
US
I have a file of computer names that look like this
"CN=COCL28I,OU=Computers,OU=ITSS,OU=VACO,DC=dva,DC=va,DC=gov"

The quotation marks are at the front and end of string I need to remove them so I can pass this string to the LDAP
Is there a command to remove chars
 
strNew = Replace(strOld, Chr(34), "")

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top