Re: how to search d15?
- From: "Henning" <computer_hero@xxxxxxxxxxxx>
- Date: Wed, 16 May 2007 22:54:16 +0200
Or just use the code I've posted yesterday :)
/Henning
"Dave O." <nobody@xxxxxxxxxxx> skrev i meddelandet
news:Oej0OQ9lHHA.492@xxxxxxxxxxxxxxxxxxxxxxx
How about splitting the file on "d" then looking at the first 2 charactersthe
of each array element?
It should work, but I'm too busy to write a test example right now.
Pseudo code
1) Split file
2) loop 1 to Ubound
3) Is first char numeric
3a) If 1st char is "1" check second character
Dave O.
"Jeff Johnson" <i.get@xxxxxxxxxxx> wrote in message
news:utl1RYwlHHA.4768@xxxxxxxxxxxxxxxxxxxxxxx
"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx> wrote in
message news:%23YZjBVwlHHA.4872@xxxxxxxxxxxxxxxxxxxxxxx
A) I read the OP's needs as wanting to search for ALL occurrences of
suggestedkeywords, not just one and then get out. Look at the code: he's
concatenating the results into the label text in a loop. That
the desire to get multiple results to me.
That may be what I have been missing in this thread... I got locked on
his wanting to find only the largest d# in the string (not completely
sure why; probably because of the "I got d1 instead of d15" comment).
Which STILL doesn't make sense, even with the code sample kaps FINALLY
provided! Getting "d1" even though there's only "d15" in the text? Sure,
that's obvious, since it's a substring. But not getting "d15" AT ALL?
.
- References:
- how to search d15?
- From: kaps2121
- Re: how to search d15?
- From: Jeff Johnson
- Re: how to search d15?
- From: kaps2121
- Re: how to search d15?
- From: Rick Rothstein \(MVP - VB\)
- Re: how to search d15?
- From: Jeff Johnson
- Re: how to search d15?
- From: Rick Rothstein \(MVP - VB\)
- Re: how to search d15?
- From: kaps2121
- Re: how to search d15?
- From: Rick Rothstein \(MVP - VB\)
- Re: how to search d15?
- From: kaps2121
- Re: how to search d15?
- From: Henning
- Re: how to search d15?
- From: Jeff Johnson
- Re: how to search d15?
- From: Rick Rothstein \(MVP - VB\)
- Re: how to search d15?
- From: Jeff Johnson
- Re: how to search d15?
- From: Rick Rothstein \(MVP - VB\)
- Re: how to search d15?
- From: Jeff Johnson
- Re: how to search d15?
- From: Dave O.
- how to search d15?
- Prev by Date: Re: reference controls on another open form
- Next by Date: Re: variable size record length file parsing
- Previous by thread: Re: how to search d15?
- Next by thread: Re: how to search d15?
- Index(es):
Relevant Pages
|
Loading