By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

carriage return in a text file

P: n/a
hi, all,
after I read a string from a text file, which contains a hidden character
(carriage return) some where in the string, how can I remove this hidden
character, because when I populated it to another text file, this carriage
return character caused some problem.
thanks.
J
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Jason" <j@NoSpamPlease.org> schrieb:
after I read a string from a text file, which contains a hidden character
(carriage return) some where in the string, how can I remove this hidden
character


Take a look at 'System.String.Replace',
'Microsoft.VisualBasic.Strings.Replace' and 'ControlChars.Cr'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.