<?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: Compare strings and highlight differences in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354304#M60410</link>
    <description>&lt;P&gt;What I want is something akin to what MS Word will do when it compares documents.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual thing I want to do is when comparing two data tables, particularly differences in tables scripts and column formulas.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compare Data Tables will show, for instance, if saved table scripts are different and list them both out, which I can save to a table with the strings in the table in separated columns, but what I want to see is where those two scripts are different.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jan 2021 19:28:52 GMT</pubDate>
    <dc:creator>MathStatChem</dc:creator>
    <dc:date>2021-01-31T19:28:52Z</dc:date>
    <item>
      <title>Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/353999#M60370</link>
      <description>&lt;P&gt;How would I write a function or routine that would compare two strings and show the difference between them?&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;string1="It will rain tomorrow"&lt;/P&gt;&lt;P&gt;string2="It will snow tomorrow"&lt;/P&gt;&lt;P&gt;comparison result (string2 vs string 1) = "It will &lt;STRIKE&gt;rain&lt;/STRIKE&gt;snow tomorrow"&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:04:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/353999#M60370</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2023-06-09T22:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354020#M60371</link>
      <description>What are the rules?&lt;BR /&gt;Is &lt;BR /&gt;     It will rain tomorrow&lt;BR /&gt;different from&lt;BR /&gt;     Tomorrow it will rain&lt;BR /&gt;If you are just comparing each word from one string to the same position word in a second string, that can easily be done by looping through the strings using the Word() function to compare each word.&lt;BR /&gt;But going beyond that, the algorithm can become very complex</description>
      <pubDate>Fri, 29 Jan 2021 16:37:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354020#M60371</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-01-29T16:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354304#M60410</link>
      <description>&lt;P&gt;What I want is something akin to what MS Word will do when it compares documents.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual thing I want to do is when comparing two data tables, particularly differences in tables scripts and column formulas.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compare Data Tables will show, for instance, if saved table scripts are different and list them both out, which I can save to a table with the strings in the table in separated columns, but what I want to see is where those two scripts are different.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 19:28:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354304#M60410</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2021-01-31T19:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354305#M60411</link>
      <description>&lt;P&gt;Seems like this could be done with regular expressions, I just don't know how.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 19:33:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354305#M60411</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2021-01-31T19:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354312#M60412</link>
      <description>&lt;P&gt;Maybe Shortest Edit Script() could be enough?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/identifying-differences-between-strings-lines-or-sequences.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/15.2/#page/jmp/identifying-differences-between-strings-lines-or-sequences.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/utility-functions.shtml#ww3843203" target="_blank"&gt;https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/utility-functions.shtml#ww3843203&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 20:06:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354312#M60412</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-01-31T20:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354313#M60413</link>
      <description>&lt;P&gt;&lt;LI-MESSAGE title="Compare two files" uid="250842" url="https://community.jmp.com/t5/Uncharted/Compare-two-files/m-p/250842#U250842" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 20:43:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354313#M60413</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-01-31T20:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Compare strings and highlight differences</title>
      <link>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354333#M60417</link>
      <description>&lt;P&gt;Shortest Edit Script gets me the information that I need, that is very helpful, thanks!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 02:18:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Compare-strings-and-highlight-differences/m-p/354333#M60417</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2021-02-01T02:18:12Z</dc:date>
    </item>
  </channel>
</rss>

