How do you search for a string in a system? I am trying to make a program that does a system ping then returns to you only a portion of the results such as only the amount of packets loss. Any ideas on how to do that? What I had so far was to transfer the results to a text file then read the text file. But after that I am not sure how to extract a certain line from those results. Any help would be greatly appreciated.
np2100 0 Light Poster
Duoas 1,025 Postaholic Featured Poster
np2100 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.