Android examples for java.lang:String Split
Split string to sub String By Symbol
import android.text.TextUtils; public class Main{ public static String[] subStringBySymbol(String str, String symbol) { if (!TextUtils.isEmpty(str) && !TextUtils.isEmpty(symbol)) { String[] strArray = str.split(symbol); return strArray; }/* w w w .j ava 2 s .c o m*/ return null; } }