string-similarity icon indicating copy to clipboard operation
string-similarity copied to clipboard

[HELP!!] Latest version does not detect spaces, and 2.0.0 version is not case sensitive.

Open airda2895 opened this issue 3 years ago • 0 comments

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!

airda2895 avatar Aug 27 '21 11:08 airda2895