compare the string without using stringcomp function?
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 |
How to insert snapshot during manual scripting in QTP?
How will you compare two strings in vbscript?
what is fire event method in qtp?
What are class properties?
Explain about scrrun.dll in vbscript?
Which constant is used for print and display functions and works as same as pressing enter key?
What is the difference between javascript and vbscript?
What are the different types of loops available in the vbscript language?
what is the difference between modular and data and keyword driven framework
How to Convert Hex color code to color name 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)
Explain the tristate constants in vbscript?