Here you can find the source of chopLeft(String str, char delimiter)
public static String chopLeft(String str, char delimiter)
//package com.java2s; //License from project: Open Source License public class Main { public static String chopLeft(String str, char delimiter) { if (str == null || "".equals(str)) { return str; }//from w ww. ja va 2s .c o m int pos; int len = str.length(); for (pos = 0; pos < len; pos++) { if (str.charAt(pos) != delimiter) { break; } } return str.substring(pos); } }