23 More substring practice


Hi, please help me with this. I see every thing ok but there is an error!!
// Use console.log( ) to print out the substrings.
// Here is an example of the 1st to 4th letter of "JavaScript":
// console.log("JavaScript".substring(0,4));
console.log("january".substring(0,3) );
console.log("Melbourne is great".substring(0,12) );
console.log("Hamburgers".substring(3,10) );

The screen show all correct:
Melbourne is

The error is:
Oops, try again. You didn't select the right substring from 'January'.


"January" is a proper name, so the SCT expects capitalization.


Of course!!! thanks!!!


A post was split to a new topic: Cannot read property 'substring' of undefined