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