2.0.20 • Published 4 years ago

@extra-string/right.min v2.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Return rightmost part of string.

This is part of package extra-string.

This is browserified, minified version of @extra-string/right. It is exported as global variable string_right. CDN: unpkg, jsDelivr.

var right = require('@extra-string/right');
// right(<string>, <length>)

right('Thai Sweet Chilli Sauce', 5);  // 'Sauce'
right('Thai Sweet Chilli Sauce', 12); // 'Chilli Sauce'
right('Thai Sweet Chilli Sauce', 80); // 'Thai Sweet Chilli Sauce'
right('Thai Sweet Chilli Sauce', -1); // ''

extra-string

2.0.20

4 years ago

2.0.19

4 years ago

2.0.18

4 years ago

2.0.17

4 years ago