String Methods (cont’d)
Client-side JavaScript defines more than a dozen String methods (discussed later)
Six new methods added in JavaScript 1.2:
- concat( string2 )
- match( regexp )
- replace( regexp, newSubstr )
- search( regexp )
- slice( begSlice, endSlice )
- substr( start, length )