The substr() method behaves like slice(), except that the second value we give it specifies the length of the piece we want to extract.

Excellent! Again, the second number is optional. If we don't provide it, the piece spans all the way to the end of the original string.

We're looking for the substring of s here.