compare the string without using stringcomp function?
Answer Posted / cnu_thatavarthi
2. how to compare values without using String compare function?
Ans:
Option Explicit
Dim strValue
strValue = "Thatavarthi"
If strValue = "Thatavarthi" Then
MsgBox "Both strings are same"
Else
MsgBox "Both strings are not same"
End If
'Expected out Put
---------------------------
---------------------------
Both strings are same
---------------------------
OK
---------------------------
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
How to delete a cookie using vbscript?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
What is the event handling in vbscript?
How are values assigned to the variables in the vbscript language?
How will you get the smallest subscript of an array in vbscript?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
What is the use of the date function in the vbscript language?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
Explain the support of asp for vb script functionality?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
In what way program "hello world" you can write in vbscript?
Which loop is used in case of arrays in the vbscript language?