Comment Comment by ivanprado Just for clarify, split() java function is using regexp for the split as well. The code of String.split() is:return Pattern.compile(regex).split(this, limit);The benchmark seems fair to me. parent ivanprado 14 years ago
return Pattern.compile(regex).split(this, limit);
The benchmark seems fair to me.