How to remove this string in RichEditControl?

The whole string i receive is: HiWorld
Need to remove part of the string: 
finally i need to show on RichEditControl: HiWorld


Please help me!

Thanks and Regards
Sam .