Methods (T-Z)

A method is a function that is a member of an object. Following are methods whose names begin with letters t through z.

In This Section

  • tan Method
    Returns the tangent of a number.

  • test Method
    Returns a Boolean value that indicates whether or not a pattern exists in a searched string.

  • toArray Method
    Returns a standard JScript array converted from a VBArray.

  • toDateString Method
    Returns a date as a string value.

  • toExponential Method
    Returns a string containing a number represented in exponential notation.

  • toFixed Method
    Returns a string representing a number in fixed-point notation.

  • toGMTString Method
    Returns a date converted to a string using Greenwich Mean Time (GMT).

  • toLocaleDateString Method
    Returns a date as a string value appropriate to the host environment's current locale.

  • toLocaleLowerCase Method
    Returns a string where all alphabetic characters have been converted to lowercase, taking into account the host environment's current locale.

  • toLocaleString Method
    Returns a date converted to a string using the current locale.

  • toLocaleTimeString Method
    Returns a time as a string value appropriate to the host environment's current locale.

  • toLocaleUpperCase Method
    Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.

  • toLowerCase Method
    Returns a string where all alphabetic characters have been converted to lowercase.

  • toPrecision Method
    Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

  • toString Method
    Returns a string representation of an object.

  • toTimeString Method
    Returns a time as a string value.

  • toUpperCase Method
    Returns a string where all alphabetic characters have been converted to uppercase.

  • toUTCString Method
    Returns a date converted to a string using Coordinated Universal Time (UTC).

  • ubound Method
    Returns the highest index value used in the specified dimension of the VBArray.

  • unescape Method
    Decodes String objects encoded with the escape method.

  • unshift Method
    Returns an array with specified elements inserted at the beginning.

  • UTC Method
    Returns the number of milliseconds between midnight, January 1, 1970 Coordinated Universal Time (UTC) (or GMT) and the supplied date.

  • valueOf Method
    Returns the primitive value of the specified object.

  • JScript Reference
    Lists elements that comprise JScript Language Reference and links to topics that explain the details behind the proper use of language elements.

  • Methods
    Lists the methods, classified alphabetically, available in JScript, and links to each category of methods.

  • Objects
    Explains the concept of objects in JScript, how objects are related to properties and methods, and links to topics that provide more detail about the objects that JScript supports.