07-21-2020 01:34 PM
Hello,
How in LabVIEW can one search a string for multiple strings. Say I have the string "Hello, what time is it?". How would I search for the strings "is" and "what"?
Solved! Go to Solution.
07-21-2020 01:49 PM
There are, in short, a TON of ways to do that with LabVIEW. This is quite possibly the simplest way, though it does not deal with the possibility of multiple matches of the same word:
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
07-21-2020 02:05 PM
Okay, I'm looking for a more specific way.
I am trying to look for the strings "T1","T2,"T3","T4"...etc in a file path converted to a string such as "<C:\Users\OneDrive - Mil\Documents\PBR\Ortho Wrecker 6in photos\Blade 2 (Scored)\Ortho4120_B1232_G4_C0_T18(2).jpg>". If any of the strings are found, then a boolean TRUE will be output.
07-21-2020 02:15 PM
Not a lot of modification to it then...
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
07-21-2020 02:16 PM - edited 07-21-2020 02:17 PM
You can use the above example that was provided and
07-21-2020 02:44 PM
Alternative below
using regular expressions.