Replacing data within a string
I have this String "<text x="4" y="781.91" class="st6" v:langID="2057"><v:paragraph v:spLine="0.19685"/><v:tabList/>${Server: webseal_server}$<v:newlineChar/><tspan"
The code belows gets me the data i want, but how do i replace the data? i.e. so that after execution the line now says. ><text x="4" y="781.91" class="st6" v:langID="2057"><v:paragraph v:spLine="0.19685"/><v:tabList/>Name of Webserver<v:newlineChar/><tspan
Thanks - Code following
public Changer(List><String> xmlIn, String[] svgIn,int ArraySize){
for(int a = 0; a <= ArraySize ; a++)
{
temp = svgIn[a];
int start = temp.indexOf("${");
int end = temp.indexOf("}$");
System.out.println(temp.substring(start+2, end));
}

