Link to home
Start Free TrialLog in
Avatar of JakeyCakes
JakeyCakes

asked on

Replace line feeds or carriage returns with a Space

Hi,

In VB is it possible to Replace line or carriage feeds with a space character?
For example if I have string that reads

Test Address
Address 1
Address 2
Address 3

I want to change it so it reads:

Test Address Address 1 Address 2 Address 3.

Any help much appreciated.
SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JakeyCakes
JakeyCakes

ASKER

Hi,

All three work and are excellent answers, so I'm going split the points evenly,

Thanks to all of you