@stdlib/string-base-remove-first-grapheme-cluster
Version:
Remove the first grapheme cluster (i.e., user-perceived character) of a string.
6 lines (5 loc) • 391 B
JavaScript
;var n=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var u=n(function(c,t){
var s=require('@stdlib/string-next-grapheme-cluster-break/dist');function a(r,e){for(var i=0;e>0;)i=s(r,i),e-=1;return r===""||i===-1?"":r.substring(i,r.length)}t.exports=a
});var o=u();module.exports=o;
/** @license Apache-2.0 */
//# sourceMappingURL=index.js.map