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

Feedback on: irt.org FAQ Knowledge Base Q531, July 25, 2002 at 02:46:05:

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

Feedback on:
irt.org FAQ Knowledge Base Q531

Sent by
anonymous on July 25, 2002 at 02:46:05:

Worth:
Very worth reading

Comments:
There is a bug in the second code code

on the line:

var restOfWord = a[i].substring(1, a.length).toLowerCase();

it should read:

var restOfWord = a[i].substring(1, a[i].length).toLowerCase();

Otherwise it takes the length of the array and not the element of the array.


Other feedback on 'irt.org FAQ Knowledge Base Q531' - show all

©2018 Martin Webb