Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

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

Open
airda2895 opened this issue Aug 27, 2021 · 0 comments

Comments

@airda2895
Copy link

airda2895 commented Aug 27, 2021

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant