banduwgs has asked for the wisdom of the Perl Monks concerning the following question:
I am dealing with Win32::OLE Outlook.Application objects. I try to apply find method over an Items collection object in following code.
$item = $items->Find( '[Subject] = Test Subject 01' );
This works fine with entire field name. (It has the power of case ignore and ignoring parts like "RE:" at the begining.)
I want to modify it to match even a portion of the given field. i.e It should return same item set (probebly more) providing the filter string '[Subject] = Test' instead of '[Subject] = Test Subject 01' in the above code
MSDN Filter Syntax Reference discuss the operator Contain, but I can't apply it in Perl. Do you have any suggesion?
Thanks in advance - SB
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Filter(?) for Win32 OLE Find method
by tcf22 (Priest) on Aug 06, 2003 at 16:17 UTC | |
by banduwgs (Beadle) on Aug 06, 2003 at 17:13 UTC | |
Re: Filter(?) for Win32 OLE Find method
by cacharbe (Curate) on Aug 06, 2003 at 17:50 UTC | |
by banduwgs (Beadle) on Aug 07, 2003 at 08:06 UTC |
Back to
Seekers of Perl Wisdom