xpath select first character of string code example
Example 1: javascript delete first character in string
var oldStr ="Hello";
var newStr = oldStr.substring(1); //remove first character "ello"
Example 2: javascript get first character of string
var str="Hello Folks!"
var firstStringChar = str.charAt(0); //H