how to find number of characters(letter a) in
the sentence
Rain Rain Go away
Answer Posted / aditya
Dim sentence, testchar, arr
sentence = Inputbox(" Enter a sentence" )
testchar = Inputbox(" The charecter to be checked")
arr = split(sentence, testchar)
msgbox "Total number of charecter " & testchar & " in sentence " & sentence & " is " & ubound(arr)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to add actions in driver script to run those actions in QTP?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
How to capture a runtime error in vbscript?
Mention how you can call vbscript functions?
Explain the constants in vbscript?
When to use function procedures and what are its characteristics?
What is purpose of scripting.filesystemobject class in vbscript?
How are values assigned to string type and numeric type variables?
Which constant is used for print and display functions and works as same as pressing enter key?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
i need to sort the data using qtp script for this how i need to write a qtp script
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What is the event handling in vbscript?