Skip to content

Utils vs String split #276

Locked Answered by iscle
devgianlu asked this question in Q&A
Dec 9, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi!

This section is great.

I was reading through the code, and I can't see what the difference between Utils.split and String.split functions is.

The Utils.split function is here: https://github.com/librespot-org/librespot-java/blob/master/lib/src/main/java/xyz/gianlu/librespot/common/Utils.java#L133

I'm wondering if it has a special feature not present in the String.split function, or it's just an old piece of code that has sticked...

Thanks!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@devgianlu
Comment options

devgianlu Jan 7, 2021
Maintainer Author

@devgianlu
Comment options

devgianlu Jan 19, 2021
Maintainer Author

Answer selected by devgianlu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants