cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Fruit325
Level III

Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

Hello, I want to get some advice for splitting table. Thank you!

 

I have two columns A and B

A: Temperature 

B: Step 1 / Step2 / Step3

I split column "temperature" by column "steps". The final column names are "Temperature Step1", "Temperature Step2"...

How could I make final column name starts with suffix steps? like "Step1 Temperature", "Step2 Temperature"? I got a lot of columns so it is difficult to edit manually. 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

You can edit your B column (or create new) in your original data table before split (change formula to "Temperature " || :B)

jthi_3-1727185691442.png

jthi_4-1727185700546.png

 

Or you can use recode column names with regex for example

jthi_0-1727185539471.png

jthi_1-1727185569797.png

With ^ you can "replace" start of the string and then replacement text is "Temperature "

jthi_5-1727185770755.png

 

Or you can write a script

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

You can edit your B column (or create new) in your original data table before split (change formula to "Temperature " || :B)

jthi_3-1727185691442.png

jthi_4-1727185700546.png

 

Or you can use recode column names with regex for example

jthi_0-1727185539471.png

jthi_1-1727185569797.png

With ^ you can "replace" start of the string and then replacement text is "Temperature "

jthi_5-1727185770755.png

 

Or you can write a script

-Jarmo
Fruit325
Level III

Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

@jthi  Thanks! That's exactly what I am looking for and it works very well! 

Recommended Articles