ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

match first string

Solved!
Go to solution

Hi all,

 

Anyone have any example VI for "match string first" function? 

 

Thank you 🙂 

0 Kudos
Message 1 of 6
(4,376 Views)

 

Hi,

try placing this snipped on a block diagram:

 

 

prefixes.png

 

Regards,

Marco

 

0 Kudos
Message 2 of 6
(4,360 Views)

Thank you! Is there any way to set array to case insensitive? 🙂

0 Kudos
Message 3 of 6
(4,358 Views)

There is no option to make it insensitive instead you can convert both the array and the string to upper case and pass it.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 6
(4,350 Views)
Solution
Accepted by topic author joseleen

Something like that should do (almost) the trick.

Regards,

Marco

p.s. almost because the output string will be lowercase.

 

prefixes_2.png

0 Kudos
Message 5 of 6
(4,349 Views)

Is there a way that I can use a variant for string?

Because I need to check for 4 strings instead of only 1 string to match.

0 Kudos
Message 6 of 6
(4,275 Views)