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
what is the difference between modular and data and keyword driven framework
Which in-built function related to an array joins substrings into one string in the vbscript language?
What is vbscript procedures?
What are class properties?
How will you convert a string to lower case string using vbscript?
Explain the functionality of vbscript?
1. How do declare public variable in vb scripts?
How to Enter Values on the Command promt using VB script
Is vbscript language a case-sensitive language and what does it mean?
Explain about adodb.stream class?
where can i learn VB scripint ?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Description.Create
how to set one column as primary key in QTP and fetch values accordingly
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository