public static String stripToChar(String string,char c){
  int ndx=string.indexOf(c);
  if (ndx == -1) {
    return string;
  }
  return string.substring(ndx);
}

public static String stripToChar ( String string , char c ) { int ndx = string . indexOf ( c ) ; if ( ndx == - 1 ) { return string ; } return string . substring ( ndx ) ; }
strips everything up to the first appearance of given char . character is included in the returned string .
