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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top