Renaming Data Table using a previous table nameI know I can rename a table using
dt << SetName("FirstTablename");
But say I'd like to rename a 2nd data table that concatenates the name of the 1st data table so that it is something like
dt2 << SetName( Nameof1stTable || " 2");
Does anyone know how I could just name a 2nd table with an appended character? The reason I want to do this is that usually I modify multiple tables in JSL with splits and joins and end up with a large number of untitled tables which I find hard to keep track of which "parent" table it was derived from.
Thanks in advance!
Re: Renaming Data Table using a previous table namedt2 << set name( dt << get name || " 2" );
In actuality, you do not have to do the concatenation because JMP will see that the name you set is the same as another table, and will automatically add the "2";
dt2 << set name( dt << get name );