Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

substring methods example

let str = 'JavaScript Substring';
let substring = str.substring(0,10);

console.log(substring);
Code language: JavaScript (javascript)
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #substring #methods
ADD COMMENT
Topic
Name
3+4 =