JavaScript replace method

04:13 0 Comments A+ a-

<html>
<body>

<script type="text/javascript">

var str="Visit Microsoft!";
document.write(str.replace("Microsoft","Systech Digital Ltd."));

</script>
</body>
</html>

Result