JavaScript Strings

The substr() Method

substr() extracts a part of a string:

H