Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base, July 12, 1999 at 17:00:57:

You are here: irt.org | About | Feedback | 297 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base

Sent by
Ken Prochnau on July 12, 1999 at 17:00:57:

Comments:
Your search engine doesn't like strings with quotes. Here's a JavaScript routine I use to strip quotes before submission.

function stripQuotes(string){

if (string.substring(0,1) == '"' || string.substring(0,1) == "'")
string = string.substring(1,string.length)
if (string.substring(string.length,string.length-1) == '"' || string.substring(string.length,string.length-1) == "'")
string = string.substring(string.length-1,0)
return(string)
}



©2018 Martin Webb