Is VBscript case-sensitive?

Answer Posted / monika

VBScript is "not" a case sensitive until we are not doing binary comparison. if we are doing binary comparison than it is case sensitive.

e.g. TEXT and text will be different if binary comparison is done. but it will be same if textual comparison is done

StrComp("TEXT","text")

outpot: -1

StrComp("TEXT","text",1)

outpot: 0

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the differance between BYVAL,BYREF?

1992


How will you get the natural logarithm of the given number in vbscript?

809


Explain the asc function?

687


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

715


Which operator is used to concatenate the 2 values in the vbscript language?

782


If else for do while select in vb script?

847


Explain about adodb.stream class?

813


How you can call vbscript functions?

782


who will create the object?

1907


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

2811


What is loose binding? Why is it not a good practice to use it?

868


what is resorceallocation

1961


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

2005


Explain about the support of asp for vb script functionality?

721


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2800