Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static String getPaperPath(String paramString) { if (TextUtils.isEmpty(paramString)) return paramString; return paramString.substring(1 + paramString.lastIndexOf("/")); } }