SyntaxFix
Write A Post
Hire A Developer
Questions
Try the following
var original = 'www.test.com'; var stripped = original.substring(4);