Function |
Returns |
|
Abs |
The absolute value of a number. |
|
A variant containing an array. | |
|
The ASCII character code of a character or the first character of a string. | |
|
The Arc tangent of a number. | |
|
The Boolean value of an expression passed into the function. | |
|
A number of type byte, converted from a number passed into the function. | |
|
A date type, converted from a valid date expression passed into the function. | |
|
A variant of subtype double from an expression passed into the function. | |
|
The ASCII character of an ASCII code. | |
|
A variant of subtype Integer from an expression passed into the function. | |
|
A variant of subtype long after the expression passed into the function is converted into long. | |
|
The cosine of an angle. | |
|
A variant of subtype Single from a numerical expression. | |
|
A string from an expression. | |
|
A user specified error code. | |
|
The date from the system clock. | |
|
Calculations of various days based on current date. | |
|
A variant of subtype date. | |
|
A value between 1 and 31 and can be used to find the day of a date. | |
|
The value of e raised to a power. | |
|
The hexadecimal (base 16) value of a numerical expression. | |
|
The number of hours of a time expression. | |
|
A dialog box prompt. | |
|
The location of one string in another string. | |
|
Integers from numerical expressions. | |
|
True if a variable is an array and False otherwise. | |
|
True if an expression can be converted to a valid date and False otherwise. | |
|
True if a variable has been initialized and False otherwise. | |
|
True if an expression is an error code and False otherwise. | |
|
True if an expression is NULL and False otherwise. | |
|
True if an expression is numeric and False otherwise. | |
|
True if an expression references an OLE Automation Object and False otherwise. | |
|
The minimum index of an array dimension. | |
|
The lowercase value of a string expression. | |
|
A certain number of characters from the left side of a string. | |
|
The number of characters of a string expression. | |
|
The natural logarithm of a nonnegative numerical expression. | |
|
String after eliminating preceding spaces. | |
|
A certain number of characters from a string. | |
|
The number of minutes when called with the time. | |
|
The month when called with a date. | |
|
A message box. | |
|
The current date and time from the system clock. | |
|
The octal value (base 8) of a numerical expression. | |
|
A certain number of characters from the right side of a string. | |
|
A random number between 1 and 0. | |
|
String after eliminating trailing spaces. | |
|
Second |
The number of seconds of a date expression. |
|
The sign of a numerical expression. | |
|
The Sine of an angle. | |
|
The square root of a nonnegative numerical expression. | |
|
A string converted from a numerical expression. | |
|
The values of a string comparison. | |
|
A character value repeated N times. | |
|
The tangent of an angle. | |
|
The current time from the system clock. | |
|
Time calculations based on current time. | |
|
Expression passed into the function after converting it into a variant of subtype Date. | |
|
String after eliminating both trailing and preceding spaces. | |
|
Ubound |
The maximum size of an array dimension. |
|
The uppercase value of a string expression. | |
|
A number contained in a string. | |
|
The type of a variable. | |
|
A number between 1 and 7, for days of a week. | |
|
The year of the expression. |
For more information on VBScript, turn to Chapter 12, "Unleashing the Power of VBScript."