create a vi that opens an existing file(text file) (im using labview version 7)
and count ---howmany times a string(im searching for this string ) will come in that file(dont count if it is in the comments like it is followed by 😉
take example like
im searching for a string named "lab" in a text file
if the file has data like as follows
lab lab lab
lab
gjjhjhjklj
;lab khhjkkjj lab llab (dont count here becasue the line is a comment it is followed by 😉
; lab
lab jhjjk kkl ;ghgggjkj lab
now count is 5.(i want count as 5)
send a solution for this problem