View Single Post
Old 06-02-2009, 02:17 PM   #13
ahi
Wizard
ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.
 
Posts: 1,790
Karma: 507333
Join Date: May 2009
Device: none
Quote:
Originally Posted by DaleDe View Post
Generally this is the case. Sometimes a tab character is used to start the paragraph but the idea is the same. Leading space marks a paragraph boundary rather than a blank line.

Dale
Could one then:

1. Replace all instances of "\n " (linebreak + 4 spaces) or "\n\t" (linebreak and tab) with "|" (pipe character).

2. Replace all instances of "\n" (linbreak) with "" (i.e.: nothing).

3. Replace all instances of "|" (pipe character) with "\n\n" (2 linebreaks).

The specifics of how to do this I cannot offer to explain, but perhaps others might... assuming my line of thinking makes sense.

- Ahi
ahi is offline   Reply With Quote