String.concat() : String « Javascript Objects « JavaScript DHTML






String.concat()

  

<html>
<head>
<title>Exploring String</title>
</head>
<body>
<script type="text/javascript">
var sObj = new String();
var sTxt = sObj.concat("This is a ", "new string");

document.writeln(sTxt);
</script>
</body>
</html>

   
    
  








Related examples in the same category

1.'String' Example
2.String.italics()
3.String.big()
4.String.blink()
5.String.sup();
6.String.strike()
7.String.bold()
8.String.small()
9.String.link()