how to slice first character js code example Example: how to remove first character from string in javascript str = str.substring(1);