substr(start,length) - omit the second parameter
let str = "Apple, Banana, Kiwi";
str.substr(7) // Returns Banana,Kiwi
Are there any code examples left?
New code examples in category Javascript
let str = "Apple, Banana, Kiwi";
str.substr(7) // Returns Banana,Kiwi