Parts of a string

admin

Administrator
Staff member
I am using:
var FirstChar = RefNo.slice(0,1);
to establish what the first character of the RefNo string is. How can I refer to what's left - all the characters after the first character. Thanks.
 
Back
Top