Answers for "javascript get all letters after first 5 characters"

1

get everything after the first character javascript

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

alert(response); // ":111122:123123123"
Posted by: Guest on September-16-2020
1

javascript only allow show first few characters from a string

var string = 'Hey, I am good';
string.substring(0,3); // show first 3 characters
//result "Hey"
Posted by: Guest on December-10-2020

Code answers related to "javascript get all letters after first 5 characters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language