Trim a string from the left removing it of provided character.
$ npm install --save trim-left-by-char
const trimLeftByChar = require('trim-left-by-char');
trimLeftByChar('00unicorns', 0);
//=> 'unicorns'
Type: string
Input string that you want to trim of characters.
Type: string
Default: ''
Character you want to trim from string.
MIT © Vedran Blazenka