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
Explain about adodb.stream class?
What is event handling in vbscript?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
What is the difference between vb debugger and the script debugger?
How regexp.execute method works?
What is the use of the date function in the vbscript language?
Explain the tristate constants in vbscript?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Which data type/types are supported by vbscript language and what are their specialties?
Both Static and dynamic arrays are handled by VB script. Is it true?
i need to sort the data using qtp script for this how i need to write a qtp script
How will you get the largest subscript of an array in vbscript?
What is the event handling 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