accept a string & display whether a is present or not
Answer Posted / mudaseer
vstr=lcase(inputbox("string plz"))
if instr(vstr,"a")>0 then
msgbox "present"
else
msgbox "absent"
end if
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you reverse a string in vbscript?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
Mention the rules for using option explicit statement?
What is the difference between vb debugger and the script debugger?
Explain what is loose binding? Why is it not a good practice to use it?
what is the difference between modular and data and keyword driven framework
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How will you convert a given number to long in vbscript?
Explain about constants in vb script?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
Mention the environments where vbscript could be run?
In html file what is an ideal position to include vbscript?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
How to Enter Values on the Command promt using VB script