String Concatenated
08/10/2009 02:09
<html>
<head>
<title>String Concatenated</title>
</head>
<body>
<!Write a javascript program for string concatenated>
<! Roll no=01>
<h1 align="center">Working with string</h1>
<hr>
<script language="javascript">
var str1,str2,str3;
str1="Hello";
str2="World";
str3=str1+str2;
document.write("wel come");
document.write("<br>");
document.write("String1="+str1+"<br>");
document.write("String2="+str2+"<br>");
document.write("String3="+str3+"<br>");
</script>
</body>
</html>
———
Back