sunday is sunday
monday
tuesday
wendesday
sunday
thursday
friday
saturday
sunday
sunday
how to count no of sunday in the text file from vb? Answer
me asap
Answer Posted / siva
Set fso=createobject("scripting.filesystemobject")
Set forread=fso.OpenTextFile("path\test.txt",1)
text=forread.ReadAll
coun=ubound(split(text,"sunday"))
msgbox coun
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which function is used in the vbscript language to convert the specified expression into a date type value?
How will you format a number in percetage format in vbscript?
Explain the scope of the variables using dim, public, and private keywords respectively.
What are class variables?
What are the valid scopes of a variable in vbscript?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Why is the use of exit do or exit for statements within loops discouraged?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
What methods are used to create text files and open text files in the vbscript language?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
Which object provide information about a single runtime error in a vbscript?
Mention what is the difference between vbscript and vba?
How will you get a subset of a array in vbscript?