Answers for "substr(start,length) - omit the second parameter"

0

substr(start,length) - omit the second parameter

let str = "Apple, Banana, Kiwi";

str.substr(7)    // Returns Banana,Kiwi
Posted by: Guest on July-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language