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!

Using indexof to find quotation marks?

Status
Not open for further replies.
Feb 8, 2002
43
US
1. I have a multiline textbox.
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 there, 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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top