Newsgroups: microsoft.public.scripting.vbscript
From: "Richard Mueller [MVP]" <rlmueller-nos...@ameritech.nospam.net>
Date: Thu, 5 Nov 2009 19:13:29 -0600
Local: Fri, Nov 6 2009 1:13 am
Subject: Re: Seek Filter Include Example
news:b1cc3104-0a64-41f1-a956-41655ff3af62@y28g2000prd.googlegroups.com...
> This creates an Array M and fetches the elements having cc - so it The Include parameter is a boolean. True (the default), means the new array > displays dccr.... > M= Split("bbadccraddaeea","a") > Filter also has this syntax: > Filter(Array,Search[,Include[,Mode]]) > Can someone create an example based on these variables that utilizes will only contain elements of the original that include the Search pattern. False means the array will contain elements that do not include the Search pattern. For example, this code: =============== Option Explicit Dim M, B, C, D M = Split("bbadccraddaeea", "a") B = Filter(M, "cc", True) C = Filter(M, "cc", False) D = Filter(M, "cc") bb,dccr,dd,ee, My reference that describes this function states that the default for -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||