Hi!
anyone out there who can explain the matchw (matchwild) logic to me? For me it seems illogical!
RTFM says:
Software Customisation Manual 2.5.62: String Object
MatchWild(STRING two)
BOOLEAN
TRUE if strings are the same.
STRING two may contain
wildcard characters:
·* for any number of
characters
·? for any single character.
If i try to do use this in a Macro:
<code>
!a = 'YOUR NAME'
q var !a.matchw('*OUR*')
</code>
At least I expect due to the description a "TRUE".
But it tells me:
(2,779) Method <STRING>.MATCHW(<STRING>) not found
Obviously I am doing something wrong... Help!
anyone out there who can explain the matchw (matchwild) logic to me? For me it seems illogical!
RTFM says:
Software Customisation Manual 2.5.62: String Object
MatchWild(STRING two)
BOOLEAN
TRUE if strings are the same.
STRING two may contain
wildcard characters:
·* for any number of
characters
·? for any single character.
If i try to do use this in a Macro:
<code>
!a = 'YOUR NAME'
q var !a.matchw('*OUR*')
</code>
At least I expect due to the description a "TRUE".
But it tells me:
(2,779) Method <STRING>.MATCHW(<STRING>) not found
Obviously I am doing something wrong... Help!
Kommentar