Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript substtgin

var str = "Hello world!";
var res = str.substring(1, 4);

// This returns "ell" so the last value is exclusive and the first is inclusive
 
PREVIOUS NEXT
Tagged: #javascript #substtgin
ADD COMMENT
Topic
Name
4+2 =