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.

Check if one string is a prefix of another

I have two strings which I'd like to compare: String and String:. Is there a library function that would return …

c++ string-comparison prefix
How to fetch entries starting with the given string from a SQL Server database?

I have a database with a lot of words to be used in a tag system. I have created the …

c# sql sql-server tsql string-comparison
Comparing a string to multiple items in Python

I'm trying to compare a string called facility to multiple possible strings to test if it is valid. The valid …

python string string-comparison
What are some algorithms for comparing how similar two strings are?

I need to compare strings to decide whether they represent the same thing. This relates to case titles entered by …

algorithm language-agnostic string-comparison stdstring heuristics
Compare two NSStrings

In my app there is a mechanism that requires that at a certain point two NSStrings will be the same …

cocoa-touch nsstring string-comparison
C# - Compare String Similarity

What is the best way to compare 2 strings to see how similar they are? Examples: My String My String With …

c# .net string algorithm string-comparison
bash, dash and string comparison

I am trying to compare two strings in a simple shell script. I was using /bin/sh instead of /bin/…

bash dash-shell string-comparison
Check if variable starts with 'http'

I'm sure this is a simple solution, just haven't found exactly what I needed. Using php, i have a variable $…

php substring string-comparison
When to use which fuzz function to compare 2 strings

I am learning fuzzywuzzy in Python. I understand the concept of fuzz.ratio, fuzz.partial_ratio, fuzz.token_sort_ratio …

python string-comparison fuzzywuzzy
Best way to compare the end of a string, use RIGHT, LIKE or other?

I need to compare the end of strings against a list of possible ending in a stored procedure. It will …

sql sql-server tsql optimization string-comparison