Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript String startsWith() examples

JavaScript startsWith() Case sensitive Example
const text = 'Hello, Welcome to JavaScript World';
console.log(text.startsWith('Hello')); // true
console.log(text.startsWith('hello')); // false
Source by itsjavascript.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #String #examples
ADD COMMENT
Topic
Name
6+9 =