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
How to open browser in vb script?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Which operator can be used to check if two numbers are equal or not in vbscript?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
What is purpose of scripting.filesystemobject class in vbscript?
what is the features of visual basic?
when we use filter funtiom invb script(QTP)
Which operator is used to concatenate the 2 values in the vbscript language?
Explain about scrrun.dll?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
How to throw an error in vbscript?
why variable name should not exceed 255 characters?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Mention what is the technology used by vb script?