Java tutorial
import org.apache.commons.lang.ClassUtils; public class MainClass { public static void main(String[] args) { System.out.println("3) PackageName of a string >>> " + ClassUtils.getPackageName("A String", "IfNull")); } }