JavaScript String startsWith() Method - W3Schools
https://www.w3schools.com/jsref/jsref_startswith.asp
WEBThe startsWith() method returns true if a string starts with a specified string. Otherwise it returns false. The startsWith() method is case sensitive. Syntax. string .startsWith ( searchValue, start) Parameters. Return Value. Browser Support. startsWith() is an ECMAScript6 (ES6) feature. searchValue: Required.The string to search for. start: Optional.Start position. Default is 0.
searchValue: Required.The string to search for.
start: Optional.Start position. Default is 0.
DA: 46 PA: 82 MOZ Rank: 27