You are here: PSPad forum > English discussion forum > Merge text in a txt file

Merge text in a txt file

#1 Merge text in a txt file

Posted by: Esgrimidor | Date: 03/09/2017 15:02 | IP: IP Logged

Sometimes when copy/pasting a pdf file the resulting text is splitted from the original

How can I merge the resulting text according to the periods in the text. (Reconstructing phrases)

For example:

a
s
u
n
t
o

especial en cada caso.

Toda
vía
existen muchas opciones
y cada una de ellas más simple.
En todo caso es posible hacerlo.
Cada
caso
es
un
caso
aparte.

The final result may be :

asunto especial en cada caso.
Todavía existen muchas opciones y cada una de ellas más simple.
En todo caso es posible hacerlo.
Cada caso es un caso aparte.

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#2 Re: Merge text in a txt file

Posted by: vbr | Date: 03/09/2017 16:12 | IP: IP Logged

Hi, for such reconstruction, you can partly use "join lines", i.e. replace linebreaks with spaces
Edit: Lines manipulation: Join lines

Howewer, you will have to edit the text manually afterwards to delete the spaces between characters of some words and also insert linebreaks as needed.
hth,
vbr

Options: Reply | Quote | Up ^


#3 Join lines in a txt file

Posted by: Esgrimidor | Date: 03/10/2017 14:28 | IP: IP Logged

I tried join lines manually

This was the result :

a s u n t o especial en cada caso.
Toda vía existen muchas opciones y cada una de ellas más simple.
En todo caso es posible hacerlo.
Cada caso es un caso aparte.

In the word a s u n t o how can I convert to asunto ?

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#4 Re: Join lines in a txt file

Posted by: Stefan | Date: 03/10/2017 14:31 | IP: IP Logged

Esgrimidor:
In the word a s u n t o how can I convert to asunto ?

Move the cursor to the wanted space, then press the DEL key.
Move on with every space you want to remove.

.

No one else can know which space to remove and which not.

.

.

--
greets, Stefan
image (pleased user since 1722)
inofficial FAQs + Infos + Special Settings

Options: Reply | Quote | Up ^


#5 Re: Join lines in a txt file

Posted by: Esgrimidor | Date: 03/11/2017 19:40 | IP: IP Logged

Nice to recognize you in the forum. I am contro as you know in the other.

Thanks a lot for your answer.

Best Regards.
smiling smiley

--
Nice program indeed

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák