Java tutorial
//package com.java2s; public class Main { private static String getFieldName(String glueField) { return glueField.substring(glueField.lastIndexOf(".") + 1); } }