String: rename split without separator to words#4646
String: rename split without separator to words#4646makenowjust wants to merge 1 commit intocrystal-lang:masterfrom
split without separator to words#4646Conversation
See crystal-lang#4644 (comment) Now, `String#split` without separator is deprecated (breaking change).
|
I think it could be argued to add |
|
I think we just need a clear documentation on this, and that's enough. |
|
@straight-shoota We can use |
|
To fit |
|
I believe |
|
We take care of However, in fact, strangely, current Crystal behavior is almost same as Python's one (Python does not support empty string separator, but others are same). As @need47 said, we may have to write a clear documentation like Python. I agree with it if prefer simple solution. |
|
For others not following everything, this PR has been closed because this comment. |
See #4644 (comment)
Now,
String#splitwithout separator is deprecated (breaking change).