Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xstrings.Squeeze doesn't work like Ruby version #36

Closed
silasb opened this issue Feb 13, 2018 · 1 comment
Closed

xstrings.Squeeze doesn't work like Ruby version #36

silasb opened this issue Feb 13, 2018 · 1 comment
Labels

Comments

@silasb
Copy link

silasb commented Feb 13, 2018

Ruby:

"hello     world".squeeze(" ")
=> "hello world"

xstrings:

xstrings.Squeeze("hello    world", " ")
=> hello    world
@huandu huandu added the bug label Feb 14, 2018
@huandu huandu closed this as completed in 2bf18b2 Feb 14, 2018
@huandu
Copy link
Owner

huandu commented Feb 14, 2018

Nice catch. Thank you.

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

No branches or pull requests

2 participants