<?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 Find words within a column and relace it with with blank in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569083#M77965</link>
    <description>&lt;P&gt;Hello JMP community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove &lt;STRONG&gt;ppm.&lt;/STRONG&gt; from column 9 and store only numbers in column 10.&lt;/P&gt;&lt;P&gt;Can you please suggest any way to perform this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chandankishor66_0-1668438647593.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47314iC8963F50271A5262/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chandankishor66_0-1668438647593.png" alt="chandankishor66_0-1668438647593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:02:29 GMT</pubDate>
    <dc:creator>chandankishor66</dc:creator>
    <dc:date>2023-06-09T16:02:29Z</dc:date>
    <item>
      <title>Find words within a column and relace it with with blank</title>
      <link>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569083#M77965</link>
      <description>&lt;P&gt;Hello JMP community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove &lt;STRONG&gt;ppm.&lt;/STRONG&gt; from column 9 and store only numbers in column 10.&lt;/P&gt;&lt;P&gt;Can you please suggest any way to perform this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chandankishor66_0-1668438647593.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47314iC8963F50271A5262/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chandankishor66_0-1668438647593.png" alt="chandankishor66_0-1668438647593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:02:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569083#M77965</guid>
      <dc:creator>chandankishor66</dc:creator>
      <dc:date>2023-06-09T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find words within a column and relace it with with blank</title>
      <link>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569101#M77967</link>
      <description>&lt;P&gt;Using formula with Substitute() is one option (replace &lt;CODE class=" language-jsl"&gt;"851 ppm."&lt;/CODE&gt; with :Column 9)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Substitute("851 ppm.", "ppm.", "");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Edit:&lt;/P&gt;
&lt;P&gt;Might have to add Trim Whitespace()/Num() around substitute&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:25:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569101#M77967</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-11-14T15:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Find words within a column and relace it with with blank</title>
      <link>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569108#M77968</link>
      <description>&lt;P&gt;Hi Chandan,&lt;/P&gt;
&lt;P&gt;Assuming "ppm" is always the thing you want to remove, creating a new formula column to keep only the first word, while using "ppm" as a delimiter should work. Formula for this below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num(Word(1, :Column 9, "ppm"))&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:25:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569108#M77968</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2022-11-14T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find words within a column and relace it with with blank</title>
      <link>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569112#M77970</link>
      <description>&lt;P&gt;Create a new column with the formula:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num( Regex( :Column 9, "\d+" ) )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;\d means find valid digits. + means as many as possible. The whole result is type cast back into a number by the num() around it.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:28:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569112#M77970</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2022-11-14T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Find words within a column and relace it with with blank</title>
      <link>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569226#M77982</link>
      <description>&lt;P&gt;The regex version is nice.&lt;/P&gt;&lt;P&gt;If you don't want the rounded number:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Regex( :Column 9, "\d+,\d+" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;edited: as I just noticed that the numbers have comma as decimal separator&lt;BR /&gt;I think it's a good idea to have ponit as the standard in jmp and convert commas to points as soon as the file is loaded.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 17:09:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-words-within-a-column-and-relace-it-with-with-blank/m-p/569226#M77982</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-11-15T17:09:19Z</dc:date>
    </item>
  </channel>
</rss>

