Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


compare the string without using stringcomp function?



compare the string without using stringcomp function?..

Answer / 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

More VB Script Interview Questions

How to insert snapshot during manual scripting in QTP?

1 Answers  


How will you compare two strings in vbscript?

0 Answers  


what is fire event method in qtp?

3 Answers   TCS,


What are class properties?

0 Answers  


Explain about scrrun.dll in vbscript?

0 Answers  


Which constant is used for print and display functions and works as same as pressing enter key?

0 Answers  


What is the difference between javascript and vbscript?

0 Answers  


What are the different types of loops available in the vbscript language?

0 Answers  


what is the difference between modular and data and keyword driven framework

0 Answers  


How to Convert Hex color code to color name in VB Script?

0 Answers  


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)

0 Answers   TCS, Wipro,


Explain the tristate constants in vbscript?

0 Answers  


Categories