Sun . Java . Code Library . r*

{ ... // redirecting webpage, from R10.htm to R5.htm
<script language="javascript">
<!--
function redirect()
{
if(navigator.appName == "Microsoft Internet Explorer")
{
window.open(".\\Scripts\\R5.htm", "_self");
}
else
{
window.open(".//Scripts//R5.htm", "_self");
}
}
//-->
</script>
<html>
<body onLoad="redirect()">
</body>
</html>
... }

 

{ ... // replacing strings, java.lang.String
String replace (char oldCharacters, char newCharacters)
... }