trimInstrDesc function

Trim the "instr.desc" attribute