Like this:
var str="blah blah blah";
str += ' blah';
str += ' ' + 'and some more blah';
More Related Contents:
- How to interpolate variables in strings in JavaScript, without concatenation?
- What does ${} (dollar sign and curly braces) mean in a string in JavaScript?
- Print / display a JavaScript variable’s name instead of it’s value
- How to use a variable for a key in a JavaScript object literal?
- How to check if a string “StartsWith” another string?
- Fastest method to replace all instances of a character in a string [duplicate]
- Evaluating a string as a mathematical expression in JavaScript
- How can I use backslashes (\) in a string?
- Declaring multiple variables in JavaScript
- Strip all non-numeric characters from string in JavaScript
- Convert string with commas to array
- Check for special characters in string
- String to object in JS
- Regular expression which matches a pattern, or is an empty string
- JavaScript OR (||) variable assignment explanation
- Is there any difference between declared and defined variable
- javascript regular expression to check for IP addresses
- Replace all spaces in a string with ‘+’ [duplicate]
- Passing regex modifier options to RegExp object
- How do I split a string into an array of characters? [duplicate]
- How to check if a string array contains one string in JavaScript? [duplicate]
- HEX to Base64 converter for JavaScript
- how to convert a string to a Unix timestamp in javascript?
- Trying to capitalize the first character in array of strings, why this is not working?
- Are ES6 template literals faster than string concatenation?
- How Can I Truncate A String In jQuery?
- Javascript / Jquery – Get number from string
- How to test if a URL string is absolute or relative?
- JSON to string variable dump
- Does jQuery strip some html elements from a string when using .html()?