Here you can find the source of substringAfter(String string, String delimiter)
public static String substringAfter(String string, String delimiter)
//package com.java2s; //License from project: Open Source License public class Main { public static String substringAfter(String string, String delimiter) { int pos = string.indexOf(delimiter); return pos >= 0 ? string.substring(pos + delimiter.length()) : ""; }/*from w w w . ja v a 2 s .c o m*/ }