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

taking quotations out of a string

Status
Not open for further replies.
Feb 8, 2002
43
US
1. I have a multiline text.
2. The text is put in a string variable.
3. I am trying to take everything out of the string except letters.
4. I am using the indexof Property

Problem,
I want to remove the quotations from the string. For instance if someone writes "Hi the, Jack said "Hi too"", I need to be able to take the two extra "s out.

I tried this string.indexof(""") and recieved an error.

My question is, how do you find a quotation mark in a string using the indexof method?
 
.IndexOf("""") works That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top