Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static String chopQName(String text, String qName) {
        String[] tokens = text.split(qName);
        if (tokens != null && tokens.length >= 1) {
            text = tokens[tokens.length - 1];
        }

        return text;
    }
}