<?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: Remove &amp;quot;&amp;quot; from TEXT FILE in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872484#M206471</link>
    <description>&lt;P&gt;These "options" are only available for reading with READTEXT( ) to tell Prime what the delimiters of text strings in the (already existing) file ar or if everything should be interpreted as text.&lt;/P&gt;
&lt;P&gt;So this won't help you as you'd like to create a file using WRITETXT( ).&lt;/P&gt;
&lt;P&gt;So I guess you will have to resort to either Terrys AssemblePRN ( )&amp;nbsp; or my WRITETXT2 ( ).&lt;/P&gt;
&lt;P&gt;WRITETXT2 ( ) can't be used if your textstrings contain the double quotes themselves.&lt;/P&gt;
&lt;P&gt;This could be fixed, but would increase the functions size as we would have to look if a quote is either the first or last character in the file or if its followed or prepended by a TAB or CRLF before we can remove it.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 19:28:28 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2023-04-28T19:28:28Z</dc:date>
    <item>
      <title>Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872234#M206453</link>
      <description>&lt;P&gt;Prime 9 File attached.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ppal_0-1682651631821.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81092i9C15F70518872D50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ppal_0-1682651631821.png" alt="ppal_0-1682651631821.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 03:14:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872234#M206453</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2023-04-28T03:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872246#M206455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;WRITEPRN in Mathcad 15 used to do exactly that but for unknown reasons they changed it for Prime?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a workaround that does what Mathcad 15 used to produce.&amp;nbsp; It creates a binary file which is nothing but a collection of bytes that can be read by an editor like Notepad.&amp;nbsp; It creates an extra line at the top but you can delete this in the text editor.&amp;nbsp; It generates spaces (character 32) between the items but could be adjusted to do tabs (character 9) in between if required.&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="Capture.JPG" style="width: 808px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81094i513D9EF373B7339B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&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="Capture2.JPG" style="width: 298px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81095i815690958D31DC43/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 05:06:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872246#M206455</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2023-04-28T05:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872250#M206456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You could also just use a text editor and replace " with nothing.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 05:24:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872250#M206456</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2023-04-28T05:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872267#M206457</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/269418"&gt;@terryhendicott&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;WRITEPRN in Mathcad 15 used to do exactly that but for unknown reasons they changed it for Prime?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;WRITEPRN is still available in Prime and works the same way as in MC15 - it does not remove the quote character either and additionally adds some header information at the top.&lt;/P&gt;
&lt;P&gt;WRITETEXT is new in Prime and should have been implemented in a way so that at least you have a choice to remove the quotes.&lt;/P&gt;
&lt;P&gt;It was a long standing wish for Mathcad to be able to create true text files in an easy and intuitive way but the only way to accomplish that was using the WRITEBIN function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a brute force workaround - a user defined function WRITETXT2() which uses WRITETXT to write the file, reads it in again via READBIN, removes all quote character (#34) and rewrites the file via WRITEBIN.&lt;/P&gt;
&lt;P&gt;Should work well as long as the strings don't contain quote characters themselves!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1682664619512.png" style="width: 505px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81097iB9DBD903B2B8B615/image-dimensions/505x362?v=v2" width="505" height="362" role="button" title="Werner_E_0-1682664619512.png" alt="Werner_E_0-1682664619512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 07:08:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872267#M206457</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-04-28T07:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872324#M206461</link>
      <description>&lt;P&gt;There is this in the help:&lt;/P&gt;
&lt;P&gt;I don't know how to implement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="wwID0EXL3Z" class="List_1"&gt;&lt;SPAN class="WebWorks_Number"&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mathvar"&gt;options&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(optional) is a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mathvar"&gt;3 x 1&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;column vector structured from top to bottom as 'txtqual', 'decsymb', 'thousep':&lt;/DIV&gt;
&lt;DIV id="wwID0EDN3Z" class="List_2"&gt;&lt;STRONG&gt;&lt;SPAN class="WebWorks_Number"&gt;◦&lt;/SPAN&gt;txtqual (text qualifier)—You can specify double quotes (default), single quote, or none.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV id="wwID0EFO3Z" class="List_2"&gt;&lt;SPAN class="WebWorks_Number"&gt;&lt;SPAN&gt;◦&lt;/SPAN&gt;&lt;/SPAN&gt;decsymb (decimal symbol)—You can specify either "," (comma) or "." (dot). Dot is the default.&lt;/DIV&gt;
&lt;DIV id="wwID0EHP3Z" class="List_2"&gt;&lt;SPAN class="WebWorks_Number"&gt;&lt;SPAN&gt;◦&lt;/SPAN&gt;&lt;/SPAN&gt;thousep (thousands separator)—You can specify either "," (comma), "." (dot) or " " (space). Comma is the default.&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:42:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872324#M206461</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2023-04-28T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872333#M206462</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/269418"&gt;@terryhendicott&lt;/a&gt; wrote:&lt;BR /&gt;&lt;EM&gt;Hi,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;WRITEPRN in Mathcad 15 used to do exactly that but for unknown reasons they changed it for Prime?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I meant to say is a data export wizard existed in Mathcad 15 that outputted a formatted text file in PRN format from a matrix.&lt;/P&gt;
&lt;P&gt;numbers remained numbers, single quoted text was written as text without quotes, double quoted text was written as single quoted text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I miss this utility in Prime.&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="Capture.JPG" style="width: 509px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81112iF13CB0C270790942/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 677px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81113i97F10733F0562F0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.jpg" style="width: 301px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81115i3BAB47DD930A98BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.jpg" alt="Capture4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 10:35:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872333#M206462</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2023-04-28T10:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872478#M206469</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/269418"&gt;@terryhendicott&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/269418"&gt;@terryhendicott&lt;/a&gt; wrote:&lt;BR /&gt;&lt;EM&gt;Hi,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;WRITEPRN in Mathcad 15 used to do exactly that but for unknown reasons they changed it for Prime?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I meant to say is a data export wizard existed in Mathcad 15 that outputted a formatted text file in PRN format from a matrix.&lt;/P&gt;
&lt;P&gt;numbers remained numbers, single quoted text was written as text without quotes, double quoted text was written as single quoted text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I miss this utility in Prime.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ah, I see. I think I never used that feature, but I sure miss data-table from that very same menu.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 19:08:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872478#M206469</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-04-28T19:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872484#M206471</link>
      <description>&lt;P&gt;These "options" are only available for reading with READTEXT( ) to tell Prime what the delimiters of text strings in the (already existing) file ar or if everything should be interpreted as text.&lt;/P&gt;
&lt;P&gt;So this won't help you as you'd like to create a file using WRITETXT( ).&lt;/P&gt;
&lt;P&gt;So I guess you will have to resort to either Terrys AssemblePRN ( )&amp;nbsp; or my WRITETXT2 ( ).&lt;/P&gt;
&lt;P&gt;WRITETXT2 ( ) can't be used if your textstrings contain the double quotes themselves.&lt;/P&gt;
&lt;P&gt;This could be fixed, but would increase the functions size as we would have to look if a quote is either the first or last character in the file or if its followed or prepended by a TAB or CRLF before we can remove it.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 19:28:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872484#M206471</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-04-28T19:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872577#M206491</link>
      <description>&lt;P&gt;There was a sample worksheet some time ago for converting Mathcad matrices to C++ code. They ran into the same problem with the double quotes and wrote a cool function that converts the matrix strings to binary vectors (using the string to vector function, str2vec) to encode everything as binary arrays and then write the arrays to a file using WRITEBIN(), which writes binary to a file with no formatting (like adding the double quotes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the User Function (slightly modified from the original) to output the matrix to a text file with no double quotes:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffH1_0-1682874927224.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81165iC696AD6F2B5463C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffH1_0-1682874927224.png" alt="JeffH1_0-1682874927224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the function as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffH1_1-1682874987796.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/81166iCF47AAF44FDF2CC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffH1_1-1682874987796.png" alt="JeffH1_1-1682874987796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've attached an update to your sequencer worksheet here that demonstrates this function (in Prime 9 format, since that's what you uploaded).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 17:19:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/872577#M206491</guid>
      <dc:creator>JeffH1</dc:creator>
      <dc:date>2023-04-30T17:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "" from TEXT FILE</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/1024890#M217955</link>
      <description>&lt;P&gt;I have a two-column text file with a double apostrophe #39 (not a quotation mark) at the end of the text and before the quotation mark.&amp;nbsp; See screen shot.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 00:23:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Remove-quot-quot-from-TEXT-FILE/m-p/1024890#M217955</guid>
      <dc:creator>Snowshoeman</dc:creator>
      <dc:date>2025-07-16T00:23:01Z</dc:date>
    </item>
  </channel>
</rss>

