jiekuan
asked on
TMask for a StringList , how?
A TMask is to determine if a string matches the format described by a mask.
But how do determine if a LIST OF STRINGS matches the format described by a mask ? any method or function available? or i have to use iteration ???
But how do determine if a LIST OF STRINGS matches the format described by a mask ? any method or function available? or i have to use iteration ???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>so that means Mask is only for string?
yep, robn shows, how to handle it with a stringlist
yep, robn shows, how to handle it with a stringlist
ASKER
why
'ball?????????'
can match
'ball' ?
m:=TMask.Create(lowerCase( 'ball????? ????'));
m.Matches(LowerCase(ball)) is TRUE?
why 'ball???????' can match 'ball'
'ball?????????'
can match
'ball' ?
m:=TMask.Create(lowerCase(
m.Matches(LowerCase(ball))
why 'ball???????' can match 'ball'
ASKER