Substring


#1

i'm stuck to print out substring for. "jan" In "january"


#2

That would be, "January" since it is a proper name.

"January".substring(0, 3);

Insert the above into,

console.log( ... ):

and you're set.


#3

when i insert
"january" .substring(0,3);
its not going through , its say i should use the correct substring for january


#4

There should be no white space, and you still need to capitalize...

    console.log("January".substring(-,3));