cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
HarryG
Level I

removing {} from << get selected variable

the output below puts { } on the date_selection variable. How do I remove the brackets.

output = {"date1"};

desired output = "date1";

date_list = Column( 2 ) << get values;
Show( date_list );
run_select = New Window( "checkboxes",
	<<modal(),
	V List Box(
		cb_list = Check Box( date_list ),
		Button Box( "OK", date_selection = cb_list << get selected )
	)
);
12 REPLIES 12
ankitgssingh
Level III

Re: removing {} from << get selected variable

It is not actually a date column. It is a list of column names which are all categorical. So when I say contact, I dont want to concat the column names. I want to contact the data in those columns together and make a new column out of it. So cannot use "concat Items" as I think it would concat the column names not their values. 

ankitgssingh
Level III

Re: removing {} from << get selected variable

Thank you. This solved my query. 

ankitgssingh
Level III

Re: removing {} from << get selected variable

Thank you for this solution. Works just fine. 

 

Had one question, what if the column names have '/' in them and don't work directly without using ":name(column name)" ? Any way of using ":name(column name)" instead of just "column name" ? 

 

Thanks in Advance.