Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
William2
Contributor III
Contributor III

Reverse wildmatch

Hey community, 

Is there a way of this wildmatch?

Wildmatch(field1&'*', "value1","value2","value3")

The values contain field1 but longer like 

Field1  ; value1

New  ;  Newyork 

Is this a valid way to use wildmatch? Wildmatch will be used in set analyses.

Greets and thank you.

2 Replies
stevejoyce
Specialist II
Specialist II

I guess if you want to match if values1-3 begin with field1, you can do this...

=match(field1, left(value1, len(field1)), left(value2, len(field1)), left(value3, len(field1)))

 

or you could use substringcount/index if you wanted to find if it was contained in the middle.

William2
Contributor III
Contributor III
Author

Thanks for reply. Hoped there was an easier work around. I have like 10.000 values to compare and duo to perfomance I try to use set analyses. I found an other way to solve my problem. Thanks