Remove all space, line breaks and paragrahs from text
Posted on 2004-10-12
I have a bunch of text in a Tmemo component, could look like this (could be any text)
Hello my name is bob and
I have two cats, each can catch
four mice a day
What I need is to make it
Hello my name is bob and I have two cats, each can catch four mice a day
I have tired replacing all the ' ' with '' but no go, have tried using trim, again no go.
Basically, if I had a 20 line string in a Memo, I want it all on 1 line. Yes I have turned off word wrap.