Here you can find the source of chopId(String name)
public static final String chopId(String name)
//package com.java2s; //License from project: Open Source License public class Main { public static final String chopId(String name) { int id1in = name.indexOf('-'); String id1s = name.substring(id1in + 1); return id1s; }//w w w . j a va 2 s. c o m }