String objects are created as in var myStr = new String("NPAC"); or more simply with var myStr = "NPAC"; |
Actually, the latter is a string literal, but these are automatically converted as needed |
String characters are indexed starting with 0 |
The String object has one property: var n = myStr.length; |