Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
// How to create string with multiple spaces in JavaScript var a = 'something' + '\xa0\xa0\xa0\xa0\xa0\xa0\xa0' + 'something';
Ryan Cameron
Programming language:
Javascript
2021-07-12 16:07:24
0
Q:
// How to create string with multiple spaces in JavaScript var a = 'something' + '\xa0\xa0\xa0\xa0\xa0\xa0\xa0' + 'something';
Scott Severance
Code:
Javascript
2021-06-05 14:13:02
var a = 'something' + '\xa0\xa0\xa0\xa0\xa0\xa0\xa0' + 'something';
0
Tags
string
java
javascript
multiple
how
create
script
var
Related
how to compare a string with its ending in javascript
site:stackoverflow.com javascript replace multiple spaces with single space
What does ~~ (“double tilde”) do in Javascript?
define two variables in one line javascript
javascript replace multiple spaces with single space
how to remove spaces from strings javascript
remove two things from javascript string
remove all spaces from a string javascript
remove extra space in string js
replace multiple spaces with single space javascript
count the number of spacesinto a string javascript
count word and space in text javascript
how to put space automatically after 4 characters javascript
javascript string remove trailing spaces
javascript variable with multiline text
javascript replace two spaces with one
changing double space to single in java script
New to Communities?
Join the community