Appendix A. Language Elements by Category

This appendix lists all the functions and statements, available within the VBScript language by category. The categories are:

Where necessary, individual language elements may appear in more than one category. Note that neither constants nor operators are listed here; the former are listed in Appendix B, while the latter appear in Appendix C.

Array Handling

Array Function

Creates and returns an array from a comma-delimited list of values

Dim Statement

Declares a fixed or dynamic array

Erase Statement

Clears the contents of an array

Filter Function

Returns an array of strings matching (or not) a specified value

IsArray Function

Indicates whether a variable is an array

Join Function

Returns a string constructed by concatenating an array of values with a given separator

LBound Function

Returns the lower bound of an array, which is always 0 in VBScript

Preserve Statement

Used with the ReDim statement to copy a dynamic array to a resized dynamic array

ReDim Statement

Declares or redimensions a dynamic array

Split Function

Returns an array of values derived from a single string and a specified separator

UBound Function

Returns the upper bound of an array

Assignment

= Operator

Assigns a value to a variable or property

Set Statement

Assigns an object reference ...

Get VBScript in a Nutshell, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.