Confirm the Ending, freeCodeCamp review Basic Algorithm Scripting

Lesson Summary

In this challenge we are introduced to the substr() method and substring(); I did not look into the substring method so can't tell you much about it, but the substr() method returns the characters in a string beginning at the specified location through the specified number of characters. When we pass in a negative peragmeter it starts at the end of the passed in string.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required