Jump to content

count two different strings in a file


 Share

Recommended Posts

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"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...