CentralServerDemo.ExRichTextBox.RemoveBadChars C# (CSharp) Method

RemoveBadChars() private method

Called by overrided RichTextBox.Rtf accessor. Removes the null character from the RTF. This is residue from developing the control for a specific instant messaging protocol and can be ommitted.
private RemoveBadChars ( string _originalRtf ) : string
_originalRtf string
return string
        private string RemoveBadChars(string _originalRtf) {			
            return _originalRtf.Replace("\0", "");
        }