Hi all,

I ahve got a requirement of searching for a string in a text file and then return that string. I also need to convert that to numerical value
Could anyone please tell me how to do it?
The requirement is precisely like this:
First I need to search for a string "Employee" in a text file. And then I need to search for "telephone no" and after that I need to return what ever value is there in telephone no=1233455343. i.e. I should return 1233455343.

Regards,
Prashanth

Nobody will do your homework, you got show some effort and some ideas how you want to solve this.

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.