<?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 Re: How to recode column names using jsl? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386609#M63660</link>
    <description>Thanks a lot Jim. Helpful as always.</description>
    <pubDate>Tue, 18 May 2021 22:05:45 GMT</pubDate>
    <dc:creator>shasheminassab</dc:creator>
    <dc:date>2021-05-18T22:05:45Z</dc:date>
    <item>
      <title>How to recode column names using jsl?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386485#M63654</link>
      <description>&lt;P&gt;I need to remove the first word from &lt;STRONG&gt;ALL&lt;/STRONG&gt; column names and it can be easily done in the Recode Column Names. However, there is no way to save this task as a script in the recode window. I don't see it in the action recorder of JMP 16 either. Can someone help me with writing the JSL code that can do this job for me?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:47:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386485#M63654</guid>
      <dc:creator>shasheminassab</dc:creator>
      <dc:date>2023-06-09T19:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to recode column names using jsl?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386561#M63657</link>
      <description>&lt;P&gt;Here is a simple script to do what you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();
For( i = 1, i &amp;lt;= N Cols( dt ), i++,
	Column( dt, i ) &amp;lt;&amp;lt; set name(
		Trim(
			Substr( Column( dt, i ) &amp;lt;&amp;lt; get name, Length( Word( 1, Column( dt, i ) &amp;lt;&amp;lt; get name, " " ) ) + 1 )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 May 2021 20:31:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386561#M63657</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-05-18T20:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to recode column names using jsl?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386609#M63660</link>
      <description>Thanks a lot Jim. Helpful as always.</description>
      <pubDate>Tue, 18 May 2021 22:05:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-recode-column-names-using-jsl/m-p/386609#M63660</guid>
      <dc:creator>shasheminassab</dc:creator>
      <dc:date>2021-05-18T22:05:45Z</dc:date>
    </item>
  </channel>
</rss>

