Hey Folks hope you are doing well on your various things here is my problem.
Using console.log, on three separate lines, print out the substrings for the following strings.
a. "Jan" in "January"
b. "Melbourne is" in "Melbourne is great" (note the space!)
c. "burgers" in "Hamburgers"
What I believe to be correct.
console.log("Melbourne is Great".substring(0,10));
I would love the answer but most imprtantly I want to understand the flaw in my thinking.
Thanks In Advance