VBScript Language Reference (Filter)
[ KiXtart VBScript Batch AutoIt HTA PowerShell Windows Command Lines Other Command Line Utilities ]Filter (Function)
Available from version 2 through the latest release.
Syntax
Filter (<inputStrings>, <value>[, <include>[, <compare>]])
Parameters
InputStrings = One-dimensional array of strings to be searched. (Required)
Value = String to search for. (Required)
Include = Boolean value indicating whether to return substrings that include or exclude Value. If Include is True, Filter returns the subset of the array that contains Value as a substring. If Include is False, Filter returns the subset of the array that does not contain Value as a substring. (Optional)
Compare = Numeric value indicating the kind of string comparison to use. See Settings section for values. (Optional)
Description
Creates an array containing a subset of a string array based on specified filter
Return Values
Returns a zero-based array containing a subset of a string array based on a specified filter criteria.
Also see:
Replace
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: 3/17/2004. This page has been viewed 1652 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."

iTripoli prides itself on providing top notch customer service
Find answers or open a ticket to ask directly, when opening a ticket we will suggest relavant articles to help you get answers as quickly and accurately as possible. Visit our support center now!



