getEllipsisTxt = (str, n = 6) => {
  if (str) {
    return `${str.substr(0, n)}...${str.substr(str.length - n, str.length)}`;
  }
  return "";
}
Returns a string of form "abc...xyz"
@param {string} str string to string
@param {number} n number of chars to keep at front/end
@returns {string}