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 parsePersonSkillXML(String xmlString) {
        String personSkill = "";
        int jishustart = xmlString.indexOf("<ArchivementDetail>") + 19;
        int jishusend = xmlString.indexOf("</ArchivementDetail>");

        personSkill = xmlString.substring(jishustart, jishusend);

        return personSkill;
    }
}