Formatting string variables
JavaScript can be used to create functions that allow you to format strings using HTML descriptors, but many basic formatting features are provided directly by the methods of the string object. The principle of operation of these string...