Play-Asia.com - Buy Video Games for Consoles and PC - From Japan, Korea and other Regions!

Javascript - String.concat()

 

Syntax

string.concat(string2)

Description

The concat() method of an instance of the String object concatenates the string in string2 to the end of string to return a new string.

Example

<script language="JavaScript">
<!--

var myString1 = new String("Hello, ");
var myString2 = new String("World!");
var myConcatString = myString1.concat(myString2);

alert(myConcatString); //result is 'Hello, World!'

//-->
</script>
              

 

 
Visitor Review Write a review
No visitor review for this page yet
Write a review
Rating:
Text:
Name:
Email:
(optional)
 
Code:
 

Search:
Shopping Store Online
Clothes (25)
Gift shop (69)
Hand-made (27)
Luxuries (47)
Others (42)
Programming Tutorial
ASP (14)
CSharp (29)
HTML (10)
JavaScript
charAt method
charCodeAt method
concat method
indexOf method
lastIndexOf method
replace method
Photoshop (9)
PHP (11)
Entertainment
Anime (6)
E-Cards (12)
Games (20)
Music (7)