index.js
function slice(str, beginSlice, endSlice) {
  return GraphemeBreaker.break(str)
    .slice(beginSlice, endSlice)
    .join('');
}
function slice(str, beginSlice, endSlice) {
  return GraphemeBreaker.break(str)
    .slice(beginSlice, endSlice)
    .join('');
}
function slice ( str , beginSlice , endSlice ) { return GraphemeBreaker . break ( str ) . slice ( beginSlice , endSlice ) . join ( '' ) ; }
Extracts a section of a string and returns a new string.
Extracts a section of a string and returns a new string .