|
-
Mar 21st, 2006, 01:54 AM
#1
Thread Starter
New Member
no of occurances of sring in file
I have a text file. I need a macro which will take input string from user and prints no of occurance of that string in a line.
Exanple: hari bnsnnndn hari nbns, hari xnndd dd ;
hari bnsnnndn hari nbns, hari xnndd dd ;
hari bnsnnndn hari nbns, xnndd dd ;
input string :hari
no of occurance: 3
3
2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|