Perform a Case-Insensitive String Compare without Using Translate(

G

Greg Collins

I recently found that there are some undocumented optional parameters in the
msxsl:compare-string() function that allow you to do a case-insensitive
string comparison without the need of the tedious translate(my:String,
"ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz") that we are so
used to using.

I hope it is very helpful to many of you. Read about it here:

Perform a Case-Insensitive String Compare without Using Translate()
http://www.braintrove.com/article/76
 
Top