VBScript Tutorials - Herong's Tutorial Examples - Version 5.20, by Dr. Herong Yang

Built-in Array Functions

This section provides a list of commonly used built-in array functions.

VBScript supports the following commonly used array functions:

  • Array(vArg1, vArg2, ...) - Creates a new array and returns a scalar reference of the new array
  • IsArray(vVariant) - Returns a Boolean value that indicates whether a specified variable is an array
  • Join(aArray) - Returns a string that consists of a number of substrings in an array
  • LBound(aArray) - Returns the smallest subscript for the indicated dimension of an array
  • Split(sString, sDelimiter) - Returns a zero-based, one-dimensional array that contains a specified number of substrings
  • UBound(aArray) - Returns the largest subscript for the indicated dimension of an array

Table of Contents

 About This Book

 Introduction of VBScript - Visual Basic Scripting Edition

 Variant Data Type, Subtypes, and Literals

 Arithmetic Operations

 Numeric Comparison Operations and Logical Operations

 String Operations - Concatenation and Comparison

 Variable Declaration and Assignment Statement

 Expression and Order of Operation Precedence

 Statement Syntax and Statement Types

 Array Data Type and Related Statements

 Array References and Array Assignment Statements

 Conditional Statements - "If ... Then" and "Select Case"

 Loop Statements - "For", "While", and "Do"

 "Function" and "Sub" Procedures

Built-in Functions

 Built-in Math Functions

 Built-in Conversion Functions

 Built-in String Functions

 Built-in Date and Time Functions

Built-in Array Functions

 Built-in Misc. Functions

 Inspecting Variables Received in Procedures

 Error Handling Flag and the "Err" Object

 Regular Expression Pattern Match and Replacement

 scrrun.dll - Scripting Runtime DLL Library

 Creating Your Own Classes

 IE Web Browser Supporting VBScript

 IIS ASP Server Supporting VBScript

 WSH (Windows Script Host)

 References

 Printable Copy - PDF Version

Built-in Array Functions - Updated in 2015, by Dr. Herong Yang