MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import org.apache.commons.lang.StringUtils;

public class MainClass {
    public static void main(String[] args) {

        //Remove the specified string at the end of String
        System.out.println("3) Chomp END >>>" + StringUtils.chomp("A test String END", "END"));

    }
}