Javascript String Object Reference

  • Uploaded by: satyanarayana
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Javascript String Object Reference as PDF for free.

More details

  • Words: 423
  • Pages: 1
JavaScript String Object Reference String Object Methods FF: Firefox, N: Netscape, IE: Internet Explorer Method anchor() big() blink() bold() charAt() charCodeAt() concat() fixed() fontcolor() fontsize() fromCharCode() indexOf() italics() lastIndexOf() link() match() replace() search() slice() small() split() strike() sub() substr() substring() sup() toLowerCase() toUpperCase() toSource() valueOf()

Description Creates an HTML anchor Displays a string in a big font Displays a blinking string Displays a string in bold Returns the character at a specified position Returns the Unicode of the character at a specified position Joins two or more strings Displays a string as teletype text Displays a string in a specified color Displays a string in a specified size Takes the specified Unicode values and returns a string Returns the position of the first occurrence of a specified string value in a string Displays a string in italic Returns the position of the last occurrence of a specified string value, searching backwards from the specified position in a string Displays a string as a hyperlink Searches for a specified value in a string Replaces some characters with some other characters in a string Searches a string for a specified value Extracts a part of a string and returns the extracted part in a new string Displays a string in a small font Splits a string into an array of strings Displays a string with a strikethrough Displays a string as subscript Extracts a specified number of characters in a string, from a start index Extracts the characters in a string between two specified indices Displays a string as superscript Displays a string in lowercase letters Displays a string in uppercase letters Represents the source code of an object Returns the primitive value of a String object

FF 1 1 1 1 1 1 1 1 1 1 1 1

N 2 2 2 2 2 4 4 2 2 2 4 2

IE 3 3

1 1

2 2

3 3

1 1 1 1 1

2 4 4 4 4

3 4 4 4 4

1 1 1 1 1

2 4 2 2 4

3 4 3 3 4

1 1 1 1 1 1

2 2 2 2 4 2

3 3 3 3 4

FF 1 1 1

N 4 2 2

IE 4 3 4

3 3 4 4 3 3 3 4 3

String Object Properties Property constructor length prototype

Description A reference to the function that created the object Returns the number of characters in a string Allows you to add properties and methods to the object

Related Documents


More Documents from ""

Cascading Style Sheets (css)
December 2019 56
Javascript.st1
December 2019 76
Jsp
December 2019 66
Jf4_60
December 2019 53