| | Hi Guys, Just wondering if anyone had a texteditor or method to get a documents text and replace all the return carriages with space carriages. It's something i will use quite often. Any ideas would be more than helpful. Cheers |
|
|
What kind of document is it because from my search I got that process for forms, sql files, excel files?
This is the google search pattern that I used GOOGLE KEY WORDS "replace all the return carriages with space carriages"
I have not tried this method before... but using MS Word (not Notepad or Wordpad) change your document view to "show format" (it's one of 3 little icons on the bottom left corner).
You should be able to see ¶ sign every time a new line (return character) is shown. Do FIND AND REPLACE feature, Ctrl-H I think, and replace ¶ with a simple space. I think that should do it. Let us know how it goes.
Using MS Word won't work. ¶ is a hidden character that it won't search for.
Saint, I need it for converting multiple lines of SQL code into 1 line so that I can copy it into my web code without having to " " and '&' for every line. Im sure there must be some groovy text editor with this functionaity somewhere
Different systems use various means to insert carriage returns and line feeds. Usually a combination of "\r", "\n" or "\r\n". Maybe try those sequences in a search and replace?
http://www.cs.tut.fi/~jkorpela/chars/c0.html Check the Ascii codes 10 and 13.
Similar Topics
Keywords : replacing return carriage carriage
Looking for replacing, return, carriage, space, carriage
|
|
![]() Replacing Return Carriage With Space Carriage |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|