The following table lists JScript Methods.
Methods
Description | Language Element |
---|---|
Returns the absolute value of a number. |
|
Returns the arccosine of a number. |
|
Places an HTML anchor with a NAME attribute around specified text in the object. |
|
Applies a method of an object, substituting another object for the current object. |
|
Returns the arcsine of a number. |
|
Returns the arctangent of a number. |
|
Returns the angle (in radians) from the X axis to a point (y,x). |
|
Returns a Boolean value indicating if the enumerator is at the end of the collection. |
|
Places HTML <BIG> tags around text in a String object. |
|
Places HTML <BLINK> tags around text in a String object. |
|
Places HTML <B> tags around text in a String object. |
|
Calls a method of an object, substituting another object for the current object. |
|
Returns the smallest integer greater than or equal to its numeric argument. |
|
Returns the character at the specified index. |
|
Returns the Unicode encoding of the specified character. |
|
Compiles a regular expression into an internal format. |
|
Returns a new array consisting of a combination of two arrays. |
|
Returns a String object containing the concatenation of two supplied strings. |
|
Returns the cosine of a number. |
|
Returns the unencoded version of an encoded Uniform Resource Identifier. |
|
Returns the unencoded version of an encoded component of a Uniform Resource Identifier. |
|
Returns the number of dimensions in a VBArray. |
|
Encodes a text string as a valid Uniform Resource Identifier. |
|
Encodes a text string as a valid component of a Uniform Resource Identifier. |
|
Encodes String objects so they can be read on all computers. |
|
Evaluates JScript code and executes it. |
|
Executes a search for a match in a specified string. |
|
Returns e (the base of natural logarithms) raised to a power. |
|
Places HTML <TT> tags around text in a String object. |
|
Returns the greatest integer less than or equal to its numeric argument. |
|
Places an HTML <FONT> tag with the COLOR attribute around the text in a String object. |
|
Places an HTML <FONT> tag with the SIZE attribute around the text in a String object. |
|
Returns a string from a number of Unicode character values. |
|
Returns the day of the month value in a Date object using local time. |
|
Returns the day of the week value in a Date object using local time. |
|
Returns the year value in the Date object using local time. |
|
Returns the hours value in a Date object using local time. |
|
Returns the item at the specified location. |
|
Returns the milliseconds value in a Date object using local time. |
|
Returns the minutes value stored in a Date object using local time. |
|
Returns the month value in the Date object using local time. |
|
Returns seconds value stored in a Date object using local time. |
|
Returns the time value in a Date object. |
|
Returns the difference in minutes between the time on the host computer and Universal Coordinated Time (UTC). |
|
Returns the date value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the day of the week value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the year value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the hours value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the milliseconds value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the minutes value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the month value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the seconds value in a Date object using Universal Coordinated Time (UTC). |
|
Returns the VT_DATE value in a Date object. |
|
Returns the year value in a Date object. |
|
Returns a Boolean value indicating whether an object has a property with the specified name. |
|
Returns the character position where the first occurrence of a substring occurs within a String object. |
|
Returns a Boolean value that indicates if a supplied number is finite. |
|
Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number). |
|
Returns a Boolean value indicating whether an object exists in another object's prototype chain. |
|
Places HTML <I> tags around text in a String object. |
|
Returns the current item in the collection. |
|
Returns a String object consisting of all the elements of an array concatenated together. |
|
Returns the last occurrence of a substring within a String object. |
|
Returns the lowest index value used in the specified dimension of a VBArray. |
|
Places an HTML anchor with an HREF attribute around the text in a String object. |
|
Returns a value indicating whether two strings are equivalent in the current locale. |
|
Returns the natural logarithm of a number. |
|
Returns, as an array, the results of a search on a string using a supplied Regular Expression object. |
|
Returns the greater of two supplied numeric expressions. |
|
Returns the lesser of two supplied numbers. |
|
Resets the current item in the collection to the first item. |
|
Moves the current item to the next item in the collection. |
|
Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970. |
|
Returns a floating-point number converted from a string. |
|
Returns an integer converted from a string. |
|
Removes the last element from an array and returns it. |
|
Returns the value of a base expression raised to a specified power. |
|
Appends new elements to an array, and returns the new length of the array. |
|
Returns a pseudorandom number between 0 and 1. |
|
Returns a copy of a string with text replaced using a regular expression. |
|
Returns an Array object with the elements reversed. |
|
Returns a specified numeric expression rounded to the nearest integer. |
|
Returns the position of the first substring match in a regular expression search. |
|
Sets the numeric date of the Date object using local time. |
|
Sets the year value in the Date object using local time. |
|
Sets the hour value in the Date object using local time. |
|
Sets the milliseconds value in the Date object using local time. |
|
Sets the minutes value in the Date object using local time. |
|
Sets the month value in the Date object using local time. |
|
Sets the seconds value in the Date object using local time. |
|
Sets the date and time value in the Date object. |
|
Sets the numeric date in the Date object using Universal Coordinated Time (UTC). |
|
Sets the year value in the Date object using Universal Coordinated Time (UTC). |
|
Sets the hours value in the Date object using Universal Coordinated Time (UTC). |
|
Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC). |
|
Sets the minutes value in the Date object using Universal Coordinated Time (UTC). |
|
Sets the month value in the Date object using Universal Coordinated Time (UTC). |
|
Sets the seconds value in the Date object using Universal Coordinated Time (UTC). |
|
Sets the year value in the Date object. |
|
Removes the first element from an array and returns it. |
|
Returns the sine of a number. |
|
Returns a section of an array. |
|
Returns a section of a string. |
|
Places HTML <SMALL> tags around text in a String object. |
|
Returns an Array object with the elements sorted. |
|
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. |
|
Returns the array of strings that results when a string is separated into substrings. |
|
Returns the square root of a number. |
|
Places HTML <STRIKE> tags around text in a String object. |
|
Places HTML <SUB> tags around text in a String object. |
|
Returns a substring beginning at a specified location and having a specified length. |
|
Returns the substring at a specified location within a String object. |
|
Places HTML <SUP> tags around text in a String object. |
|
Returns the tangent of a number. |
|
Returns a Boolean value that indicates whether or not a pattern exists in a searched string. |
|
Returns a standard JScript array converted from a VBArray. |
|
Returns a date as a string value. |
|
Returns a string containing a number represented in exponential notation. |
|
Returns a string representing a number in fixed-point notation. |
|
Returns a date converted to a string using Greenwich Mean Time (GMT). |
|
Returns a date as a string value appropriate to the host environment's current locale. |
|
Returns a string where all alphabetic characters have been converted to lowercase, taking into account the host environment's current locale. |
|
Returns a date converted to a string using the current locale. |
|
Returns a time as a string value appropriate to the host environment's current locale. |
|
Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. |
|
Returns a string where all alphabetic characters have been converted to lowercase. |
|
Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits. |
|
Returns a string representation of an object. |
|
Returns a time as a string value. |
|
Returns a string where all alphabetic characters have been converted to uppercase. |
|
Returns a date converted to a string using Universal Coordinated Time (UTC). |
|
Returns the highest index value used in the specified dimension of the VBArray. |
|
Decodes String objects encoded with the escape method. |
|
Returns an array with specified elements inserted at the beginning. |
|
Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the supplied date. |
|
Returns the primitive value of the specified object. |
|
Sends strings to the script debugger. |
|
Sends strings to the script debugger, followed with a newline character. |