EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     cross tabulation
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
user
Posted on: 6/26/2012 11:13 am
Home away from home
Joined: 9/29/2006
From:
Posts: 212
Re: cross tabulation
I dont think we are talking about the same thing

I want this text:

a x1 x2 x3
b x4 x5
a x6 x7
b x8 x9 x10 x11
b x12


to become like this:

a x1 x2 x3 x6 x7
b x4 x5 x8 x9 x10 x11 x12

(each of a, b, c, x1, x2, etc are whole text strings)
JohnQSmith
Posted on: 6/26/2012 9:03 am
Not too shy to talk
Joined: 7/15/2011
From:
Posts: 30
Re: cross tabulation
Since you're keeping the first one and then appending the others separated by "-", just replace all "\t" with "-".
user
Posted on: 6/25/2012 5:25 am
Home away from home
Joined: 9/29/2006
From:
Posts: 212
Re: cross tabulation
???????????????????????
user
Posted on: 6/4/2012 1:37 am
Home away from home
Joined: 9/29/2006
From:
Posts: 212
Re: cross tabulation
anyone???
user
Posted on: 5/28/2012 2:17 am
Home away from home
Joined: 9/29/2006
From:
Posts: 212
cross tabulation
hello!

I think this is called cross tabulation:

in a text line this:
[anything but tab][tab][anything but tab][tab][anything but tab]
[anything but tab][tab][anything but tab][tab][anything but tab]
[anything but tab][tab][anything but tab][tab][anything but tab]
[anything but tab][tab][anything but tab][tab][anything but tab]
etc

all the lines that start with the same:
[anything but tab][tab][anything but tab][tab]
I want to delete them and leave only the first occurence, and at the end of it, append all the last [anything but tab] of each of the deleted lines, seperated by -

how can I do this?

thanks!
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文