Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

public class Main {
    static public String strXmlCleanup(String str) {
        if (str == null)
            return "";

        if (str.indexOf("&#") != -1) {
            str = str.replaceAll(
                    "&#(0|1|2|3|4|5|6|7|8|11|12|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31);", " ");
        }
        return str;
    }
}