<?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 End Of Field(other) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54451#M30775</link>
    <description>&lt;P&gt;I have a file (essentially a text file but with .log as the extension).&amp;nbsp; It is comma seperated.&amp;nbsp; Contains both character and numeric data.&amp;nbsp; Every now and then I get a ID number with a comma in it.&amp;nbsp; This throws the columns off.&amp;nbsp; looking at the data I see that all the values I want to seperaate actually have a space after the comma. I want to seperate the columns with something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( i = 1 , i &amp;lt;= nf, i++,
filenow = ( filelist[i] );
fileopen=(filepath||filenow);

dt=open(fileopen, "text", End Of Field(Other), EOF Other(", "), Table Contains Column Headers( 0 ));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the data table is still comma delimeted so that the values I do not want to be delimeted are seperated into 2 columns. Is there a way to ignore the comma in a value such as 12345,6 but keep the delimeters that&amp;nbsp;have a space after them ", "?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 17:10:05 GMT</pubDate>
    <dc:creator>KST-CPT</dc:creator>
    <dc:date>2018-04-04T17:10:05Z</dc:date>
    <item>
      <title>End Of Field(other)</title>
      <link>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54451#M30775</link>
      <description>&lt;P&gt;I have a file (essentially a text file but with .log as the extension).&amp;nbsp; It is comma seperated.&amp;nbsp; Contains both character and numeric data.&amp;nbsp; Every now and then I get a ID number with a comma in it.&amp;nbsp; This throws the columns off.&amp;nbsp; looking at the data I see that all the values I want to seperaate actually have a space after the comma. I want to seperate the columns with something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( i = 1 , i &amp;lt;= nf, i++,
filenow = ( filelist[i] );
fileopen=(filepath||filenow);

dt=open(fileopen, "text", End Of Field(Other), EOF Other(", "), Table Contains Column Headers( 0 ));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the data table is still comma delimeted so that the values I do not want to be delimeted are seperated into 2 columns. Is there a way to ignore the comma in a value such as 12345,6 but keep the delimeters that&amp;nbsp;have a space after them ", "?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 17:10:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54451#M30775</guid>
      <dc:creator>KST-CPT</dc:creator>
      <dc:date>2018-04-04T17:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: End Of Field(other)</title>
      <link>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54458#M30781</link>
      <description>&lt;P&gt;you could preprocess the text file itself to change all of them to tabs then just import like a tsv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to here(1);
file = pick file();
txt = load text file(file);
substitute into(txt, ", ", "\!t");
newfile = convert file path("$TEMP/tempfile.log");
save text file(newfile, txt);


dt=open(newfile, "text", End Of Field("Tab"), Table Contains Column Headers( 0 ));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:17:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54458#M30781</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2018-04-04T20:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: End Of Field(other)</title>
      <link>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54472#M30793</link>
      <description>&lt;P&gt;that worked very nicely, thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 23:28:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/End-Of-Field-other/m-p/54472#M30793</guid>
      <dc:creator>KST-CPT</dc:creator>
      <dc:date>2018-04-04T23:28:39Z</dc:date>
    </item>
  </channel>
</rss>

