Re: Specify Character Range in function parameter
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Fri, 05 Dec 2008 14:23:27 -0600
aft3rgl0w wrote:
thanks for confirming that for me. do you have any examples of or know of
any websites with nifo on how to parse the test field or on the RegEx
function?
Parsing a string for that pattern could be along the lines
of this air code:
For k = 1 To Len(thestring) - 2
If Mid(thestring, k, 3) Like "##[a-h]" Then
strCycle = Mid(thestring, k, 3)
Exit For
End If
Next k
Regular expressions are a study topic all their own. There's
a lot of info at the microsoft web site (search for VBscript
RegExp). This might be a place to start:
http://support.microsoft.com/kb/818802
Note that most(?) things about VB6 also apply to VBA and I
am not sure where/what contains RegExp for Vista/A2007
--
Marsh
MVP [MS Access]
.
- References:
- Re: Specify Character Range in function parameter
- From: Marshall Barton
- Re: Specify Character Range in function parameter
- Prev by Date: Re: Inbox issues
- Next by Date: Re: Form coding help please
- Previous by thread: Re: Specify Character Range in function parameter
- Next by thread: Error 3601-Please help
- Index(es):
Relevant Pages
|