Hello, friends.
Today we discuss about how to use control f command in view.
Basically in every PDF or any word format, we use control f command to search any keyword.
So let's check how to.
But we leave you in case of lab you how we can use control of command for that purpose.
I just use a string constant.
Or you can say input string from which I want to.
Such.
So over here.
This is my input string.
I just take it from the internet.
So I just.
Increase the size.
Yes, let's.
I want to check for my deck.
And in this document, my deck is pleased.
Over here.
Q That's okay.
So I want to just go through loops.
I just take by loop, as you see.
Then in the strings or here there is a match pattern.
So you have to just.
Connect input string.
So this match pattern, as you see and over here, this is my keyword.
Let's create a control.
For regular expression for which you want to search then.
I want to also check how many times my deck like I just copy this.
I want to check how many times my deck will appear in this.
Statement or in this string constant.
So I just create registers or here in this case connect to initialize check registers.
Then over here this is the offset value and or here we pass on.
And when this value.
It's I want to also stop the loop and this value is over.
So in this case, you have to put equal to so.
It should increase.
So let's say it is minus one when it is equal to minus one.
It will stop my loop.
So.
Or her equations will give me how many?
My deck will be found in this loop.
So over here, this is a indicator.
So it will count the number of times.
A number of.
Okay.
So over here, let's say this is my my deck and I want to search for it.
So when I hit on bottom, as you see, it will appear three times in this document.
So let's say I want to put more or here.
And or here and again, when I hit on the button, I will see my deck will appear.
Five times.
And if I want to put another my deck and I just put a space over here.
So in that case, my deck is different from my deck, this expression.
So when I hit on a red button, it will search for this.
And only five elements are there.
So when I.
But space inside this in this case, it will go for only one, as you see.
Okay.
Because only one.
Maytag is over here.
So.
This is how you can.
Search for a key word in your document or in your string using live view.
Or you can say control f command use of control f command in lab view.
Thank you.