multibyte-substr
multibyte substr
Install
$ npm install --save multibyte-substr
Usage
const multibyteSubstr = ; ;//=> '丼' ;//=> '牛丼'
API
multibyteSubstr(input, [start, len])
input
Type: string
start
Type: number
len
Type: number
License
MIT © akameco