-
So... Just trying to understand how this thing work. @iscle asked the question and I marking it as the correct answer even if the answer is my comment to his question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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! |
Beta Was this translation helpful? Give feedback.
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!