SyntaxFix
Write A Post
Hire A Developer
Questions
var testStr = "sometext-20202" var splitStr = testStr.substring(testStr.indexOf('-') + 1);