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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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"