JavaScript String Methods

ECMAScript 5 allows property access on strings: