Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q1018

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.




Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.