Here you can find the source of substringAfter(String value, char delim)
public static String substringAfter(String value, char delim)
//package com.java2s; // License: Apache 2.0, https://raw.github.com/king/king-http-client/LICENSE-APACHE public class Main { public static String substringAfter(String value, char delim) { if (value == null) { return null; }/*w w w.j a v a 2 s . c o m*/ int pos = value.indexOf(delim); if (pos >= 0) { return value.substring(pos + 1); } return null; } }