get everything after the first character javascript

Solutions on MaxInterview for get everything after the first character javascript by the best coders in the world

showing results for - "get everything after the first character javascript"
Alessio
08 Oct 2017
1var val = 'asdasd:111122:123123123';
2var response = val.substring(val.indexOf(":"));
3
4alert(response); // ":111122:123123123"