sc

strip_character

Remove all characters that match the delimiter

Showing:

Popularity

Downloads/wk

5

GitHub Stars

4

Maintenance

Last Commit

6yrs ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

0.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Strip Character


[![npm version](https://img.shields.io/npm/v/strip_character.svg)](https://www.npmjs.com/package/strip_character) [![Build Status](https://travis-ci.org/dawsonbotsford/arrford.svg?branch=master)](https://travis-ci.org/abrelsfo/strip.svg?branch=master) [![NPM downloads](http://img.shields.io/npm/dm/strip_character.svg?style=flat)](http://npmjs.org/strip_character)
> Extension of String that removes all characters that match the delimiter
## Installation ```npm install strip_character```
## Usage ```js require('strip_character')();

"Hello World".strip(' '); //=> HelloWorld

"This is the end of the world as we know it".strip('t'); //=>his is he end of he world as we know i Case-Insensitive

"This is the end of the world as we know it".strip('t', false); //=>This is he end of he world as we know i



<br>
## API
### String.strip(delimiter[, strip])

##### delimiter
Type: String

##### strip
Type: Boolean<br>
true: case-insensitive<br>
false: case-sensitive<br>
default: true

Extension of String that removes all characters that match the delimiter


<br>
## License
MIT © [Alex Brelsford](abrelsfo.github.io)


<br>
Template: **[meread](https://github.com/dawsonbotsford/meread)**

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100