Substring help pls explain 22


#1

So Im doing the substring in Java showing the 4th letter through to the 7th of the word
"wonderful day".substring (3,7); which is the letters erfu but it wont let me continue why? ive tried every combination of letters but it wont admit


#2

Just replace

"wonderful day".substring (3,7);

By

"wonderful day".substring(3,7);

Should work


#3

It did work thankyou for the tip shanowar