23 More substring practice


#1

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:
jan
Melbourne is
burgers

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


#2

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


#3

Of course!!! thanks!!!


#4

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