cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

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

Why does Search & Replace not work for JMP19?

JMP19 S&R.jpg

Above is a picture of an attempt to Search for the beginning of the line of the 3 Column Names and Replace that with the prefix "Pre-" in JMP19.  it causes my computer to start calculating who-knows-what for more than 20 minutes, before I finally decided to kill it.  My computer heats up, the fan comes on and it sounds like it's in distress!  I have to do something similar to this almost every day and have never had a problem in previous versions of JMP, where it usually finishes instantly.  Is this a bug in JMP19?  It is unusable to me if this is not fixed.

 

4 REPLIES 4
txnelson
Super User

Re: Why does Search & Replace not work for JMP19?

I have replicated your finding.  After clicking on Replace All, it popped up the Replacing Data window.  I waited a short bit of time and then Cancelled the operation, only to have a JMP Alert window pop up stating that over 21 million occurrences had been replaced. 

txnelson_0-1768518790999.png

Since I was only Searching on column names, and it was supposed to be restricted to the 2 selected columns, I think this is truly a bug.

Please report this to

     support@jmp.com

Jim

Re: Why does Search & Replace not work for JMP19?

Have you tried using Column Names -> Recode Column Names? It works just like Recode, so you can Replace String using regular expressions. It is working for me using "^" to insert at the beginning of the column name, in JMP 19.0.3. 

christianz_1-1768577728224.png

 

 

hogi
Level XIII

Re: Why does Search & Replace not work for JMP19?

Wonderful trick !
Thanks for "developing it via the community".


new in JMP19: recode selected columns:

hogi_1-1768583906732.png

 

^: prepend
$: append

hogi
Level XIII

Re: Why does Search & Replace not work for JMP19?

creative approach by the #Learnbot - almost worth a submission to the wish list:

hogi_0-1768584298666.png

maybe oldname as a universal variable for the column name,
allowing actions like Word(1,oldname),  Left(oldname, 5), ...
and the described concatenation.

Recommended Articles