String.concat() : String « Javascript Objects « JavaScript DHTML
- JavaScript DHTML
- Javascript Objects
- String
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