You are here: PSPad forum > English discussion forum > Re: How to easy change to one line?
Posted by: maki | Date: 2020-03-07 11:48 | IP: IP Logged
How to easy change to one line? Important for me!
Example:
05,69
65,50
38,63
47,54
80,62
60,79
44,70
46,68
51,11
26,56
Change to:
05,65,38,47,80,60,44,46,51,26
69,50,63,54,62,79,70,68,11,56
Posted by: pspad | Date: 2020-03-07 11:54 | IP: IP Logged
Menu / lines manipulation / join line
or
Script lists of values
Sorry. First you need to split it into 2 licts - column selectio /vit +paste
Or learn how to erite scrips for your spevial tasks
Edited 1 time(s). Last edit at 2020-03-07 11:56 by pspad.
Posted by: maki | Date: 2020-03-07 12:10 | IP: IP Logged
No scripts needed. 2 quick click.
Convert CSV Selection {comma, tab or user-defined separated} > Join Lines
Edited 1 time(s). Last edit at 2020-03-07 12:10 by maki.
Posted by: David in Delta | Date: 2020-04-22 22:49 | IP: IP Logged
Have you tried Ctrl-H (find and replace)?
I think you can Find $ and Replace ,[space]
The question mark at the end of the Find window pops open with the code for the end of line.
I would save the file first, then select the lines you want to combine, use Ctrl-H, and make sure to add a white space after the comma if you want some separation between your numbers.
Posted by: David in Delta | Date: 2020-04-22 23:38 | IP: IP Logged
Oops.
Just found this on www.pspad.com
ListToCSV.zip
448 B
ListToCSV (kimgkimg)
Converts a list of multiple lines to a single line of items separated by commas. eg. alpha beta gamma to "alpha,beta,gamma" Useful when having to create CSV lists of items for things like SQL queries.
Makes my idea redundant.
Posted by: pspad | Date: 2020-04-24 14:39 | IP: IP Logged
Part of the PSpad are scripts under List conversion
Script List of items does near the same.
By the small modification - remove brackets and spaces between items he can get result he needs. But Maki doesn't like anything where is necessary to learn anything new.
He needs some AI what will receive his command and does work instead of him. You can be his AI if you have enough time
Posted by: maki | Date: 2020-04-24 15:24 | IP: IP Logged
Solved! Found Solution
No need script, macros or commands
replace with: \n
Alt+Backspace
CTRL+Y
Result.
Edited 3 time(s). Last edit at 2020-04-24 15:28 by maki.
Editor PSPad - freeware editor, © 2001 - 2025 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR