static _sanitizeString(str) {
    if (!str) return str;
    if(_.last(str) === '/') {
      str = str.substring(0, str.length - 1);
    }
    if(_.first(str) === '/') {
      str = str.substring(1);
    }
    return str;
  }
/**
  * @function URLBuildr~_sanitizeString - remove the first and last characters if they are '/'
  * @memberof URLBuildr
  */
@function URLBuildr~_sanitizeString - remove the first and last characters if they are '/'
@memberof URLBuildr
@function URLBuildr~_sanitizeString - remove the first and last characters if they are ' / ' @memberof URLBuildr
static _sanitizeString(str) {
    if (!str) return str;
    if(_.last(str) === '/') {
      str = str.substring(0, str.length - 1);
    }
    if(_.first(str) === '/') {
      str = str.substring(1);
    }
    return str;
  }
static _sanitizeString ( str ) { if ( ! str ) return str ; if ( _ . last ( str ) === '/' ) { str = str . substring ( 0 , str . length - 1 ) ; } if ( _ . first ( str ) === '/' ) { str = str . substring ( 1 ) ; } return str ; }
@function URLBuildr~_sanitizeString - remove the first and last characters if they are '/'
 @memberof URLBuildr
@function URLBuildr~_sanitizeString - remove the first and last characters if they are ' / ' @memberof URLBuildr