Javascript Reference
Objects > String
javascript String toString( ), valueOf( )
Return a string value of the object.
javascript String toLowerCase( ), toUpperCase( )
Return a copy of the current string in all lowercase or uppercase letters. If you want to replace the current string with a case-adjusted version, a
javascript String toLocaleLowerCase( ), toLocaleUpperCase( )
Return a copy of the current string in all lowercase or uppercase letters. Works the same as the regular version, except for some non-Latin alphabet
javascript String sup( )
Returns a copy of the string embedded within a <sup> tag set.
javascript String substring( )
substring(startPositionIndex, endPositionIndex) The extract begins at the zero-based index position of the current string as specified by the first pa
javascript String substr( )
substr(startPositionIndex [, length]) The extract begins at the zero-based index position of the current string as specified by the first parameter of
javascript String sub( )
Returns a copy of the string embedded within a <sub> tag set.
javascript String strike( )
Returns a copy of the string embedded within a <strike> tag set.
javascript String split( )
Returns a new array object whose elements are segments of the current string. The current string is divided into array entries at each instance of t
javascript String small( )
Returns a copy of the string embedded within a <small> tag set.
javascript String slice( )
Returns a substring of the current string. The substring is copied from the main string starting at the zero-based index count value of the characte
javascript String search( )
Returns the zero-based indexed value of the first character in the current string that matches the pattern of the regexpression parameter. This me
javascript String replace( )
Returns the new string that results when matches of the regexpression parameter are replaced by the replaceString parameter. The original string is un
javascript String match( )
Returns an array of strings within the current string that match the regular expression passed as a parameter.
javascript String localeCompare( )
Returns a number indicating whether the current string sorts before, the same as, or after the parameter string, based on browser- and system-depend
1-15 / 34 >

Powered by Linode.