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
Mention what is the use of option explicit in vbscript?
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
What are string functions in vbscript?
Mention the rules for using option explicit statement?
what is the standards used for writing the script in QTP
How will you get the natural logarithm of the given number in vbscript?
Anyone have qtp11.0 crack?
What are subprocedures in vbscript?
How to capture a runtime error 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.
did any one attended interview in applabs if you had gone through plz tell me the procedure
1. How do declare public variable in vb scripts?
What is select case statement?
How to open a file. What is the perpose of true and false mode there?
What is difference between vbscript and vba?