This website works better with JavaScript.
Explore
Help
Sign In
esamattis
/
underscore.string
mirror of
https://github.com/esamattis/underscore.string.git
Watch
1
Star
1
Fork
You've already forked underscore.string
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
dependabot/npm_and_yarn/minimist-and-mocha-1.2.8
dependabot/npm_and_yarn/minimatch-and-mocha-3.0.5
dependabot/npm_and_yarn/ansi-regex-3.0.1
master
regexp-fix
greenkeeper/initial
gh-pages
new-build-chain
new-build-chain-gh-pages
decamelize
add-cleanDiacritics-to-index
cleanDiacritics
test-coverage
usage-fp
prototype-methods
standalone
contributing
v3-experimental
diacritics
epeli
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.3
3.2.2
3.2.1
3.2.0
3.0.2
2.3.3
v2.2.1
v2.3.2
v2.3.1
v2.3.0
v.2.2.0rc
v.2.1.1
1.0.0
0.9.2
2.4.0
3.0.0
3.0.1
3.0.3
3.1.0
3.1.1
3.3.6
v.1.1.3
v.2.0.0
v0.9.2
v1.0.0
v1.1.4
v1.1.5
v1.1.6
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'master'
${ noResults }
underscore.string
/
surround.js
4 lines
97 B
Raw
Permalink
Blame
History
module
.
exports
=
function
surround
(
str
,
wrapper
)
{
return
[
wrapper
,
str
,
wrapper
]
.
join
(
''
)
;
}
;
Reference in new issue
View Git Blame
Copy Permalink