The string Object [2|3|I]

The string object provides properties and methods for working with string literals and variables.

Properties

  • length— An integer value containing the length of the string expressed as the number of characters in the string.

  • prototype— Provides a mechanism for adding properties to a string object. (Not 2.)

Methods

  • anchor(name)— Returns a string containing the value of the string object surrounded by an A container element with the name attribute set to name.

  • big()— Returns a string containing the value of the string object surrounded by a big container element.

  • blink()— Returns a string containing the value of the string object surrounded by a blink container element.

  • bold()— Returns a string containing the value of the string ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.