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

Feedback on: irt.org FAQ Knowledge Base Q1018, November 23, 1999 at 09:20:06:

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

Feedback on:
irt.org FAQ Knowledge Base Q1018

Sent by
William Finke on November 23, 1999 at 09:20:06:

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
I don't see how the statement:


if ((!i) && (text != string.substring(0,txtLength))) return string;

in replace() can ever be true. (!i) means a match was found at the start, and then it checks to see if a match was *not* found at the start. You might want to check with the author and either correct or clarify its use in the pertinent FAQs.



©2018 Martin Webb