Section A.1. Array Handling

Table of contents:

A 1 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

Part I: The Basics

Introduction

Program Structure

Data Types and Variables

Error Handling and Debugging

VBScript with Active Server Pages

Programming Outlook Forms

Windows Script Host 5.6

VBScript with Internet Explorer

Windows Script Components

Part II: Reference

Part III: Appendixes

Appendix A. Language Elements by Category

Appendix B. VBScript Constants

Appendix C. Operators

Appendix E. The Script Encoder



Vbscript in a Nutshell
VBScript in a Nutshell, 2nd Edition
ISBN: 0596004885
EAN: 2147483647
Year: 2003
Pages: 335

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net