Javascript Tutorial Part 14

myitcareer.org-Your IT Career Partner For Life. Please Bookmark It.
Homework Help | Buy Book | Buy Phone | Top Web Hosts | Hire Web Designer
Home | Interview Questions And Answers | Plan Wedding | Online Tuition
Top Domain Registrars | Hire Freelancer | Hosting Charges | Hindi News

</html>
The Boolean object Methods Explanation NN IE ECMA toString() Returns a string Boolean value. (true or false) 3.0 3.0 1.0 valueOff() Returns the value of the specified object 4.0 4.0 1.0 The String object Methods Explanation NN IE ECMA length Returns the length of the string 2.0 3.0 1.0 anchor() Returns the string as an anchor: <a>string</a> 2.0 3.0 big() Returns the string, formatted to big: <big>string</big> 2.0 3.0 blink() Returns the string blinking: <blink>string</blink> 2.0 bold() Returns the string bold: <b>string</b> 2.0 3.0 charAt() Returns the character at the specified index 2.0 3.0 1.0 charCodeAt() Returns the Unicode of the specified indexed character 4.0 4.0 1.0 concat() Returns two concatenated strings 4.0 4.0 fixed() Returns the string as teletype text: <tt>string</tt> 2.0 3.0 fontColor() Returns the string in the specified color: <font
color="red">string</font> 2.0 3.0 fontSize() Returns the string in the specified size: <font
size="5">string</font> 2.0 3.0 fromCharCode() The charCodeAt method vice versa. Returns the string value
of the specified Unicode. 4.0 4.0 indexOf() Returns the index of the first time the specified character
occurs, or -1 if it never occurs, so with that index you can
determine if the string contains the specified character. 2.0 3.0 italics() Returns the string in italic: <i>string</i> 2.0 3.0 lastIndexOf() Same as indexOf, only it starts from the right and moves left. 2.0 3.0 link() Returns the string as a hyperlink: <a href="url">string</a> 2.0 3.0 match() Behaves similar to indexOf and lastIndexOf, but the match
method returns the specified characters, or "null", instead of a
numeric value. 4.0 4.0 replace() Replaces the specified characters with new specified
characters. 4.0 4.0 search() Returns an integer value if the string contains the specified
characters, if not it returns -1. 4.0 4.0 slice() Returns a string containing the specified character index. 4.0 4.0 small() Returns the string formatted to small: <small>string</small> 2.0 3.0 split() Replaces the specified characters with a comma. 4.0 4.0 1.0 strike() Returns the string strikethrough: <strike>string</strike> 2.0 3.0 sub() Returns the string formatted to subscript: <sub>string</sub> 2.0 3.0 substr() Returns the characters you specified. (14,7) returns 7
characters, from the 14th character. 4.0 4.0 substring() Returns the characters you specified. (14,7) returns all 2.0 3.0 1.0
Previous| Next