concat (Standard - JavaScript)
Concatenates strings.
Parameters |
Description |
str |
A string to be concatenated to this object.
You can specify multiple parameters. |
Return value |
Description |
string |
The concatenated strings. |
Usage
Each parameter is a string that is concatenated
to the base string in order.
Examples
The following example returns
Paris
Moscow Tokyo
.
var cities = new String("Paris");
cities.concat(" Moscow", " Tokyo")
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.