Source language: Translate to:

Text manipulation

General questions about NeoBook

Moderator: Neosoft Support

Text manipulation

Postby Eduardo Volpi » Sat Sep 20, 2014 2:51 pm

I have a text file with multiples emails, one per line:

email1@domain.com;
email2@domain.com;
email3@domain.com;

and need to put them one after another, like this:

email1@domain.com;email2@domain.com;email3@domain.com;


and have no idea how to achieve this

Thanks for any help

Eduardo
Eduardo Volpi
User avatar
Eduardo Volpi
 
Posts: 57
Joined: Wed Oct 28, 2009 4:42 pm
Location: São Paulo - Brazil

Re: Text manipulation

Postby mishem » Sat Sep 20, 2014 4:11 pm

Code: Select all
FileRead "path to the file" "All" "[text]"
StrReplace "[text]" "[#13][#10]" "" "[text]" ""
FileWrite "path to save file" "All" "[text]"
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: Text manipulation

Postby Eduardo Volpi » Sat Sep 20, 2014 8:43 pm

Perfect!

Thanks mishem


Eduardo
Eduardo Volpi
User avatar
Eduardo Volpi
 
Posts: 57
Joined: Wed Oct 28, 2009 4:42 pm
Location: São Paulo - Brazil


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest