Code Editor : trimCharsEnd.js