https://xpertdeveloper.com/substr-vs-substring-javascript/
substr vs substring in Javascript