get everything after the first character javascript
snippet in javascript

get everything after the first character javascript

user841

var val = 'asdasd:111122:123123123';
var response = val.substring(val.indexOf(":"));

alert(response); // ":111122:123123123"