8/22 problem?


#1

"wonderful day".substring (3, 7)

The instructions are telling me to cut this string so that the fourth to seventh letter are displayed in the string.
So I did as the instruction said so. What's the problem?


#2

Try refreshing: it works sometimes.


#3

Am I wrong in assuming that 7 is actually the "eighth" character instead? I didn't do any research into this but I think that's how it works.


#4

I just tried on Codecademy Labs just in case, but it seems correct.


#5

Yep 7 is the 8th character in the string:
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/substring


#6

Same problem. Isn't working...


#7

I solved the problem along time age:
"wonderful day".substring(3, 7)

Notice that there is no space between the substring and the paranthesis