src/nodejs/gixdeko/gixdeko.js
function (decorator, txt) {
        var decostr = "@" + decorator;
        var r = txt
            .replace(decostr, "")
            .trim()
            ;
        if (debug) console.log(`Cleaning deco: ${decorator} in  ${txt}
        Result: ${r}
        `);


        return r;
    }
function (decorator, txt) {
        var decostr = "@" + decorator;
        var r = txt
            .replace(decostr, "")
            .trim()
            ;
        if (debug) console.log(`Cleaning deco: ${decorator} in  ${txt}
        Result: ${r}
        `);


        return r;
    }
function ( decorator , txt ) { var decostr = "@" + decorator ; var r = txt . replace ( decostr , "" ) . trim ( ) ; if ( debug ) console . log ( ` ${ decorator } ${ txt } ${ r } ` ) ; return r ; }
Clean a string of a deko

@param {*} decorator
@param {*} txt
Clean a string of a deko