I have a comma delaminated string that when calling String.split(\",\")
it returns an array size of about 60. In a specific use case I only need to get the valu
You are certainly better off doing it by hand for two reasons:
.split()
takes a string as an argument, but this string is interpreted as a Pattern
, and for your use case Pattern
is costly;