string-similarity
string-similarity copied to clipboard
[HELP!!] Latest version does not detect spaces, and 2.0.0 version is not case sensitive.
I need to compare two strings completely, that means it should also detect spaces and caps.
I have read the relase notes, and I don't understand why you decided to disregard spaces from version 3.0.0, so after running npm install --save [email protected]
, it detects spaces, but it is not case sensitive.
Latest version:
stringSimilarity.compareTwoStrings("Te st", "Test"); //1.00
2.0 version
stringSimilarity.compareTwoStrings("TEST", "test"); //1.00
Please help, I need to get this done as soon as possible. Thank you!