From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrays - Check strict (not approximative) match

Hello Everybody,

 

I would like to ask if is there a function which looks for exact value of an array. I have been working with the function Filter, which you can see in the next statement to compare a name of a channel with the ones of an array called "ChannelsToKeep":

 

If UBound(Filter(ChannelsToKeep, ChnName(i)))=-1 Then

 

But For example if my array contains the values ("mally", "kate", "becks") and I look for "ally" then it will match with "mally", but I don't wish that.

 

Any suggestion is welcome.

Thank you very much

   

0 Kudos
Message 1 of 2
(2,178 Views)

I realized that the method StrComp is the most appropriate for check strict match between two texts. So it will be very useful for someone who needs that in the future.

 

 

0 Kudos
Message 2 of 2
(2,138 Views)