dist/packages/full-text-search-language-en/lokidb.full-text-search-language-en.js
// Split at whitespace and dashes.
Split at whitespace and dashes.
Split at whitespace and dashes .
function splitter(str) {
    let trimmedTokens = [];
    let tokens = str.split(/[\s-]+/);
    for (let i = 0; i < tokens.length; i++) {
        if (tokens[i] !== "") {
            trimmedTokens.push(tokens[i].toLowerCase());
        }
    }
    return trimmedTokens;
}
function splitter ( str ) { let trimmedTokens = [ ] ; let tokens = str . split ( / [\s-]+ / ) ; for ( let i = 0 ; i < tokens . length ; i ++ ) { if ( tokens [ i ] !== "" ) { trimmedTokens . push ( tokens [ i ] . toLowerCase ( ) ) ; } } return trimmedTokens ; }
Split at whitespace and dashes.
Split at whitespace and dashes .