The Christian's Amado answer is very good, but after your comments, i recomend you to read about
String methods[
^], especially:
Substring[
^],
Replace[
^] and many others.
You can see the old MS Visual Basic methods too:
Left[
^],
Right[
^],
Mid[
^].
For example, to replace Chr(13) with "" (empty string), use this:
Dim sTmp as String = String.Empty
sTmp = Trim(p.Range.Text)
sTmp.Replace(Chr(13),"")