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 get a random number between 0 and 1 in vbscript?
Can automation testing find ssame no. of bugs what we can find by manual testing?
what is the features of visual basic?
What is the main difference between function and sub-procedure?
How to open browser in vb script?
Explain the string concatenation function in vbscript?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
How will you check that a variable is an array in vbscript?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
Explain the scope of the variables using dim, public, and private keywords respectively.
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
what is diff between static and dynaic arrys?
what is the standards used for writing the script in QTP
what is the use of QCUtil? explain with one example?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me