Top "String-comparison" questions

string-comparison is the action of comparing strings, resulting in a boolean or an integer indicating the "distance" between the strings.

Is it better to compare strings using toLowerCase or toUpperCase in JavaScript?

I'm going through a code review and I'm curious if it's better to convert strings to upper or lower case …

javascript internationalization string-comparison
XSLT Compare Numbers as Strings

Background I was recently surprised to notice that XSL was able to intelligently handle numbers; i.e. knowing to treat …

xslt comparison string-comparison numeric-conversion
How to compare strings with case insensitive and accent insensitive

How to compare strings with case insensitive and accent insensitive Alright this is done easily at SQL server However I …

c# .net string-comparison case-insensitive accent-insensitive
How to compare non english characters with accents

I want to compare 2 strings which have some non English character in them String1 = debarquer String2 = débárquér …

java special-characters string-comparison
Caselessly comparing strings in C#

Let's say I have two strings: a and b. To compare whether a and be have the same values when …

c# .net string string-comparison
Y/N or y/n in loop

I have trouble implementing the Y/N or y/n in the loop. I've designed it in a way that …

c# .net if-statement string-comparison toupper
Why is "ss" equal to the German sharp-s character 'ß'?

Coming from this question I'm wondering why ä and ae are different(which makes sense) but ß and ss are treated as …

c# .net windows string string-comparison
Find the match percentage between two strings in php?

can anyone suggest me a better method(or most preferred method) to find the match percentage between two strings(i.…

php string string-comparison fuzzy-logic
Find number of characters mutual between two strings in C#

I am looking for a method that will take two strings and return the number of characters that are common …

c# string linq string-comparison stringcomparer
String.Equals vs String.Compare vs "==" in Action. Explanation needed

Following is the code snippet from a console application - class MyClass { public int GetDay(string data22) { int returnValue = 0; if (…

c# .net string string-comparison