Substring help pls explain 22


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


Just replace

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


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

Should work


It did work thankyou for the tip shanowar