<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get all columns into JSL Combine Columns()? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273139#M53120</link>
    <description>&lt;P&gt;The question is about Combine Columns().&lt;/P&gt;&lt;P&gt;From Scripting index, I can find below example.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
dt &amp;lt;&amp;lt; Combine Columns(
	delimiter( "," ),
	Columns(
		&lt;FONT color="#FF0000"&gt;:Brush After Waking Up,
		:Brush After Meal,
		:Brush Before Sleep,
		:Brush Another Time&lt;/FONT&gt;
	),
	Selected Columns are Indicator Columns( 1 ),
	Column Name( "When to Brush" )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My problem is that I have random 100 columns to 200 columns of data.&lt;/P&gt;&lt;P&gt;How can I utilize the script to get all columns to replace above exact column name in red font?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:29:24 GMT</pubDate>
    <dc:creator>steven_gong</dc:creator>
    <dc:date>2023-06-09T23:29:24Z</dc:date>
    <item>
      <title>How to get all columns into JSL Combine Columns()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273139#M53120</link>
      <description>&lt;P&gt;The question is about Combine Columns().&lt;/P&gt;&lt;P&gt;From Scripting index, I can find below example.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
dt &amp;lt;&amp;lt; Combine Columns(
	delimiter( "," ),
	Columns(
		&lt;FONT color="#FF0000"&gt;:Brush After Waking Up,
		:Brush After Meal,
		:Brush Before Sleep,
		:Brush Another Time&lt;/FONT&gt;
	),
	Selected Columns are Indicator Columns( 1 ),
	Column Name( "When to Brush" )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My problem is that I have random 100 columns to 200 columns of data.&lt;/P&gt;&lt;P&gt;How can I utilize the script to get all columns to replace above exact column name in red font?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:29:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273139#M53120</guid>
      <dc:creator>steven_gong</dc:creator>
      <dc:date>2023-06-09T23:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all columns into JSL Combine Columns()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273141#M53121</link>
      <description>&lt;P&gt;Sorry for that there is no red fond in the JSL formatted script.&lt;/P&gt;&lt;P&gt;It's about below column's name in red font.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;:Brush After Waking Up,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;:Brush After Meal,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;:Brush Before Sleep,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;:Brush Another Time&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 06:26:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273141#M53121</guid>
      <dc:creator>steven_gong</dc:creator>
      <dc:date>2020-06-17T06:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all columns into JSL Combine Columns()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273145#M53122</link>
      <description>&lt;P&gt;I tried that out, see below script.&lt;/P&gt;&lt;P&gt;It's actually an easy one, just stuck there for a moment.&lt;/P&gt;&lt;P&gt;Keep trying, keep learning..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = current data table();
N = Ncol();
dt &amp;lt;&amp;lt; Combine Columns(
	delimiter( "," ),
	Columns(
	1::N		
	),
	Selected Columns are Indicator Columns( 0 ),
	Column Name( "Combined" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jun 2020 06:43:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-all-columns-into-JSL-Combine-Columns/m-p/273145#M53122</guid>
      <dc:creator>steven_gong</dc:creator>
      <dc:date>2020-06-17T06:43:31Z</dc:date>
    </item>
  </channel>
</rss>

