Replacing Return Carriage With Space Carriage

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Software

Replacing Return Carriage With Space Carriage

paulmason411
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 biggrin.gif

Reply

Saint_Michael
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"

Reply

BuffaloHELP
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.

Reply

paulmason411
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

Reply

jlhaslip
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : replacing return carriage carriage

  1. Replacing Ie With Firefox - how to... (9)
    Hey guys, if you still have Internet Explorer, get with it, Mozilla Firfox is all the go
    nowadays! i got this from a edition of PC User, so here is a way to replace IE with Firefox: To
    make Firefox your default browser: QUOTE 1. Download the latest version of firefox from
    www.mozilla.org 2. Close all programs and then double click the firefox setup program 3. Choose
    'Custom Install', accept the default program installation location or browse to the location
    in which you wish to install it 4. In the 'Select Components' dialog, choose 'Quality ...
  2. Netscape Is Back? - The return of Netscape browser (7)



Looking for replacing, return, carriage, space, carriage

Searching Video's for replacing, return, carriage, space, carriage
advertisement



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