Search code examples
asp-classicdirectivecase-insensitive

Option Compare Text in Classic ASP


This should be a no-brainer, but I haven't really written any classic ASP code in like 10 years and just cannot remember how to do this, and can't find it on google.

All I'm looking to do is to set a Classic ASP page to use Option Compare Text, but I cannot remember the syntax for this. I've tried all of the following, as the first lines in my file...

<%Option Compare Text%>
<%Option Compare="Text"%>
<%Option=CompareText%>
<%Compare="Text"%>
<%Option="Compare Text"%>
<%@Option Compare Text%>
<%@Option Compare="Text"%>

I'm pretty sure it is something with the @ symbol like the last two, but just can't remember.


Solution

  • There is no Option Compare in VBScript, sorry.

    Source