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
Mention when to use function procedures and what are its characteristics?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
How to assign a numeric value to a variable?
Why is error handling required?
Explain few date functions in vbscript?
What is purpose of scripting.filesystemobject class in vbscript?
Explain the scope of the variables using dim, public, and private keywords respectively.
What is difference between vbscript and vba?
What methods are used to create text files and open text files in the vbscript language?
Which in-built function is used to format the number in the vbscript language?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
How do you declare a variable in vbscript?
What are the valid scopes of a variable in vbscript?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
What is the difference between javascript and vbscript?