[Solved] what size of the array after Java String.split()?
[ad_1] You probably want s.split(“#”, -1); From the docs on the 2-arg form: If n is non-positive then the pattern will be applied as many times as possible and the array can have any length. If n is zero then the pattern will be applied as many times as possible, the array can have any … Read more