Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript create string of given length

var str = new Array(len + 1).join( character );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #create #string #length
ADD COMMENT
Topic
Name
2+6 =