code: function removeAnchors(text) {
          if(text.charAt(0) == '\x02')
              text = text.substr(1);
          if(text.charAt(text.length - 1) == '\x03')
              text = text.substr(0, text.length - 1);
          return text;
      }
docs: Remove STX and ETX sentinels.