Here you can find the source of subStringAfterLastSymbol(String inStr, char symbol)
public static String subStringAfterLastSymbol(String inStr, char symbol)
//package com.java2s; //License from project: Open Source License public class Main { public static String subStringAfterLastSymbol(String inStr, char symbol) { return inStr.substring(inStr.lastIndexOf(symbol) + 1); }/*from ww w.j a v a 2 s . c o m*/ }