Sign in to follow this  
Followers 0
mentosan

count two different strings in a file

5 posts in this topic

Hello

I'm looking for help in creating a script which search in a txt file for 2 strings "Type=9" and "Type=17" . The script should calculate how many times "Type=9" and "Type=17" appears and at the end gives/prints a result : "Found xxx forms of Type=9" and "Found xxx forms of Type=17"

Share this post


Link to post
Share on other sites



Can you provide more help ?

I'm new into this.

Thank you

Share this post


Link to post
Share on other sites

Cheers Zedna ! :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0