Here you can find the source of chompHeader(String str, String prex)
public static String chompHeader(String str, String prex)
//package com.java2s; public class Main { public static String chompHeader(String str, String prex) { if (str == null) { return ""; }/*ww w.ja v a2 s. com*/ if (str.startsWith(prex)) { return str.substring(prex.length()); } return str; } }