Hi,
i have new lines for text field like below:
"My name is John
Sign-up here: - john.com
This is test message"
should be converted to
"My name is John Sign-up here: - john.com This is test message"
Is there a way way we can do while inserting to .txt and .ds file
Thanks
Getting rid of new line while inserting in .txt file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How do you know when "end of group" has occurred? For example, are there always three input lines that have to become one, or might there be two or four or some other number?
With that information more cogent advice may be possible.
With that information more cogent advice may be possible.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I think this is one string field in a single record that has 'new lines' in it. If that's the case then you could use Convert() to either remove them or convert them to a space. Use CHAR(10) to represent the new line / line feed, for example.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers