Language

[url location]
parent.frame_name.location= url   "send url into a frame"
[Integer]
var pop=parseInt(1000*Math.random());
[decimal only]
var fracPart = 123456 % 1000;
anchor() Creates an HTML anchor 1 3
big() Displays a string in a big font 1 3
blink() Displays a blinking string 1  
bold() Displays a string in bold 1 3
charAt() Returns the character at a specified position 1 3
charCodeAt() Returns the Unicode of the character at a specified position 1 4
concat() Joins two or more strings 1 4
fixed() Displays a string as teletype text 1 3
fontcolor() Displays a string in a specified color 1 3
fontsize() Displays a string in a specified size 1 3
fromCharCode() Takes the specified Unicode values and returns a string 1 4
indexOf() Returns the position of the first occurrence of a specified string value in a string 1 3
italics() Displays a string in italic 1 3
lastIndexOf() Returns the position of the last occurrence of a specified string value, searching backwards from the specified position in a string 1 3
link() Displays a string as a hyperlink 1 3
match() Searches for a specified value in a string 1 4
replace() Replaces some characters with some other characters in a string 1 4
search() Searches a string for a specified value 1 4
slice() Extracts a part of a string and returns the extracted part in a new string 1 4
small() Displays a string in a small font 1 3
split() Splits a string into an array of strings 1 4
strike() Displays a string with a strikethrough 1 3
sub() Displays a string as subscript 1 3
substr() Extracts a specified number of characters in a string, from a start index 1 4
substring() Extracts the characters in a string between two specified indices 1 3
sup() Displays a string as superscript 1 3
toLowerCase() Displays a string in lowercase letters 1 3
toUpperCase() Displays a string in uppercase letters 1 3
toSource() Represents the source code of an object 1 –
valueOf() Returns the primitive value of a String object

Definition and Usage
The substr() method extracts a specified number of characters in a string, from a start index.
Syntax   stringObject.substr(start,length)
Parameter     Description
start     Required. Where to start the extraction. Must be a numeric value
length     Optional. How many characters to extract. Must be a numeric value.
Tips and Notes
Note: To extract characters from the end of the string, use a negative start number (This does not work in IE).
Note: The start index starts at 0.
Note: If the length parameter is omitted, this method extracts to the end of the string.
Example 1
In this example we will use substr() to extract some characters from a string:
<script type="text/javascript">
var str="Hello world!";
document.write(str.substr(3));
</script>
The output of the code above will be:
lo world!