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.

String comparison performance in C#

There are a number of ways to compare strings. Are there performance gains by doing one way over another? I've …

c# .net linq performance string-comparison
What is difference between different string compare methods

Possible Duplicate: Differences in string compare methods in C# In .NET there are many string comparison methods, I just want …

c# .net string-comparison
rails comparing values of params[:id] and session[:user_id] not working

I'm new to rails after moving from PHP and am having no end to the frustrations, but hopefully there is …

ruby-on-rails string-comparison
Compare result from hexdigest() to a string

I've got a generated MD5-hash, which I would like to compare to another MD5-hash from a string. The …

python string-comparison python-2.x hashlib
Finding entries containing a substring in a numpy array?

I tried to find entries in an Array containing a substring with np.where and an in condition: import numpy …

numpy where python-3.4 string-comparison
Why should I use string.length == 0 over string == "" when checking for empty string in ECMAScript?

Most of the developers on my current project use a (to me) strange way to check for empty strings in …

javascript string-comparison ecmascript-4
How to set conditional breakpoint based on string comparison in Visual Studio?

This is something I have tried from time to time over the years and never quite succeeded. I just want …

c++ visual-studio-2012 breakpoints string-comparison conditional-breakpoint
String Comparison And Alphabetic Order of Individual Characters

I have a question related to string comparison vs. character comparison. Characters > and 0 (zero) have following decimal values 62 and 48 …

c# string string-comparison
Best way to compare std::strings

What is the best way to compare std::strings? The obvious way would be with if/else: std::string input; …

c++ string comparison io string-comparison
Case insensitive string comparison in Go

How do I compare strings in a case insensitive manner? For example, "Go" and "go" should be considered equal.

string go string-comparison equality case-insensitive