Latest All
Translate Language
Wednesday, 29 February 2012
Replacing text codes in a string
<html>
<body>
<script type="text/javascript">
var str="Hello all";
document.write(str.replace("Hello","All"));
</script>
</body>
</html>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment