nHighlightedRow = Mid(string, 2, 11)
I can convert this like ,
var nHighlightedRow = string.subStr(2-1,11)
but I have to convert this,
nHighlightedRow = Mid(string, 11)
can I convert this as follow ?
var nHighlightedRow = string.subStr(0,11)
No,
Mid(string,11)extracts from character 11 to the end of the string andstring.substring(0,11)extracts from character 1, you will needstring.substring(10)