Here you can find the source of explode(String tokenizer, String text)
public static String[] explode(String tokenizer, String text)
//package com.java2s; //For more information, please refer to <http://unlicense.org/> public class Main { public static String[] explode(String tokenizer, String text) { String[] split = text.split(tokenizer); split = text.split(tokenizer);/*from w ww . java 2 s .co m*/ return split; } }