Using JavaScript substring: Example Featuring Both Arguments