LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

is there any functions to match particular word from txt file.....

is there any functions in the string to check weather the particular word is there in the .txt file r not......otherwise which function will be suitable to check.....
0 Kudos
Message 1 of 3
(3,128 Views)

Hello,

I suggest you use the FindPattern function. It finds a given pattern (which can be a word) in a string. Use the ReadLine function first to read the strings from the file.

0 Kudos
Message 2 of 3
(3,120 Views)

You can also use the functions in the regexpr.fp library in the CVI toolslib/toolbox directory for matching simple regular expressions.

0 Kudos
Message 3 of 3
(3,089 Views)