# Remove white/empty/new lines out of string

**URL:** <https://forum.kirupa.com/t/remove-white-empty-new-lines-out-of-string/169224>\
**Category:** Uncategorized\
**Created:** [November 14, 2005, 4:02pm UTC](https://forum.kirupa.com/t/remove-white-empty-new-lines-out-of-string/169224 "2005-11-14T16:02:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![2nd\_day](https://avatars.discourse-cdn.com/v4/letter/2/a4c791/32.png) [@2nd\_day](https://forum.kirupa.com/u/2nd_day)\
**Post date:** [November 14, 2005, 4:02pm UTC](https://forum.kirupa.com/t/remove-white-empty-new-lines-out-of-string/169224/1 "2005-11-14T16:02:33Z")

</div>

Hi there!

I’m making some kind of rssreader right now… everything goes really well but the only thing is that when i read data from xml i get some empty lines in my text. like this:

BAJKONOER - De Europese ruimtevaartorganisatie ESA heeft  
woensdagochtend de Europese ruimtesonde Venus Express gelanceerd

it just stops after “heeft”… it seems like a normal return… but how do i get it out of my string?

any help is welcome!
