Can any one tell me answer of the following QFind the 4th up to and including the 7th letter of the string "wonderful day"


Replace this line with your code.


You need to use .substring

console.log( "wonderful day".substring(3,7) ); This should print derf :slight_smile:

If this helped you please mark my reply as the solution.


If you can post your code and also tell what error you're getting that'd help us to identify your problem and clear your doubts!
Tho you can try as @oscartbeamish mentioned here!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.