<?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: Rename columns contains certain symbol in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Rename-columns-contains-certain-symbol/m-p/677678#M86399</link>
    <description>&lt;P&gt;You can get a list of column names as strings with&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/data-table-messages.shtml?os=win&amp;amp;source=application#ww1919058" target="_blank" rel="noopener"&gt; &amp;lt;&amp;lt; Get Column Names(&lt;/A&gt;"String"), then you can loop over those using &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/conditional-and-logical-functions.shtml?os=win&amp;amp;source=application#ww10169967" target="_blank" rel="noopener"&gt;For Each(),&lt;/A&gt;&amp;nbsp;use if statement with &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/character-functions-2.shtml?os=win&amp;amp;source=application#ww2489516" target="_blank" rel="noopener"&gt;Starts With()&lt;/A&gt; to check if column name starts with "std_" and then you can use &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/list-functions.shtml?os=win&amp;amp;source=application#ww2491421" target="_blank" rel="noopener"&gt;Words()&lt;/A&gt; (or Word()) to split the column name with "_", with that you can build new name and then set it with &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/column-messages.shtml?os=win&amp;amp;source=application#ww1920060" target="_blank" rel="noopener"&gt;&amp;lt;&amp;lt; Set Name()&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 08:40:18 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-09-14T08:40:18Z</dc:date>
    <item>
      <title>Rename columns contains certain symbol</title>
      <link>https://community.jmp.com/t5/Discussions/Rename-columns-contains-certain-symbol/m-p/677674#M86397</link>
      <description>&lt;P&gt;Hello dear users/experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table has many columns, where some of the columns are started with "std" (some are not),&lt;/P&gt;&lt;P&gt;for example column names could be:&lt;/P&gt;&lt;P&gt;std_A, std_AX, med_XA,data_Ex,std_BN....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i would like to change to&amp;nbsp;&lt;/P&gt;&lt;P&gt;A_std, AX_std, med_XA, data_EX, BN_std...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only remove std at the begining of column names and put them in the end with _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:59:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rename-columns-contains-certain-symbol/m-p/677674#M86397</guid>
      <dc:creator>MarkovRootFox46</dc:creator>
      <dc:date>2023-09-14T07:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rename columns contains certain symbol</title>
      <link>https://community.jmp.com/t5/Discussions/Rename-columns-contains-certain-symbol/m-p/677678#M86399</link>
      <description>&lt;P&gt;You can get a list of column names as strings with&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/data-table-messages.shtml?os=win&amp;amp;source=application#ww1919058" target="_blank" rel="noopener"&gt; &amp;lt;&amp;lt; Get Column Names(&lt;/A&gt;"String"), then you can loop over those using &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/conditional-and-logical-functions.shtml?os=win&amp;amp;source=application#ww10169967" target="_blank" rel="noopener"&gt;For Each(),&lt;/A&gt;&amp;nbsp;use if statement with &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/character-functions-2.shtml?os=win&amp;amp;source=application#ww2489516" target="_blank" rel="noopener"&gt;Starts With()&lt;/A&gt; to check if column name starts with "std_" and then you can use &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/list-functions.shtml?os=win&amp;amp;source=application#ww2491421" target="_blank" rel="noopener"&gt;Words()&lt;/A&gt; (or Word()) to split the column name with "_", with that you can build new name and then set it with &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/column-messages.shtml?os=win&amp;amp;source=application#ww1920060" target="_blank" rel="noopener"&gt;&amp;lt;&amp;lt; Set Name()&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 08:40:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rename-columns-contains-certain-symbol/m-p/677678#M86399</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-09-14T08:40:18Z</dc:date>
    </item>
  </channel>
</rss>

