<?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 multiple character variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441713#M110535</link>
    <description>&lt;P&gt;awesome! thank you.&lt;BR /&gt;could you please explain this:&lt;/P&gt;&lt;PRE&gt;if NOT(c{i}=word or c{i}='') then result='diff';&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
    <pubDate>Fri, 02 Mar 2018 20:17:50 GMT</pubDate>
    <dc:creator>indox</dc:creator>
    <dc:date>2018-03-02T20:17:50Z</dc:date>
    <item>
      <title>Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441625#M110501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to compare multiple character variable values let say c1,c2,c3 and c4&lt;/P&gt;&lt;P&gt;the result should be 1 if all the values are not equal.&lt;/P&gt;&lt;P&gt;The result should'nt be 1 if one of the variable is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441625#M110501</guid>
      <dc:creator>indox</dc:creator>
      <dc:date>2018-03-02T16:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441628#M110502</link>
      <description>&lt;P&gt;Show us what you have tried so far.&amp;nbsp; Then we can help you help yourself.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441628#M110502</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-03-02T16:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441634#M110504</link>
      <description>&lt;PRE&gt;data want(drop=count i);
 set have;
 array _v{*} c1 c2 c3 c4;
 count=0;
 do i=1 to dim(_v);
  count+(_v{1}=_v{i});
 end;
flag=ifc(count=dim(_v),'Same','Diff');
run;&lt;/PRE&gt;&lt;P&gt;This is what i tried so far.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441634#M110504</guid>
      <dc:creator>indox</dc:creator>
      <dc:date>2018-03-02T16:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441635#M110505</link>
      <description>&lt;P&gt;So if C1=C2 then the output should be?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you only have 4 or does this need to be expanded?&lt;/P&gt;
&lt;P&gt;Untested but perhaps something like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Use CMISS() to check for missing and then loop through the data and check if each value is unique. The last value doesn't need to be checked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;array _c(4) $ c1-c4;&lt;/P&gt;
&lt;P&gt;if cmiss(of c1-c4) = 0 then do i=1 to dim(_c)-1;&lt;/P&gt;
&lt;P&gt;if whichc(_c(i) of _c(*)) &amp;gt;1 then do;&lt;/P&gt;
&lt;P&gt;flag=1;&lt;/P&gt;
&lt;P&gt;leave;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if flag ne 1 then results=1;&lt;/P&gt;
&lt;P&gt;else flag=0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441635#M110505</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-02T16:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441641#M110507</link>
      <description>&lt;P&gt;c1--c2--c3--c4--result&lt;/P&gt;&lt;P&gt;a--a--a--a--same&lt;/P&gt;&lt;P&gt;a--a--{empty}--a--same&lt;/P&gt;&lt;P&gt;a--b--a--a--not same&lt;/P&gt;&lt;P&gt;a--b--{empty}--a--not same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I want.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 17:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441641#M110507</guid>
      <dc:creator>indox</dc:creator>
      <dc:date>2018-03-02T17:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441643#M110508</link>
      <description>&lt;P&gt;Here's an approach that is coded to avoid the loop if there are missing values, and to stop stepping through the loop once a non-equality is encountered:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want (drop=I);

  set have;

  array c{*} $ c1 c2 c3 c4;

  if cmiss(of c{*})=0 then result='same';
  else result='diff';

  do I=2 to dim(c) while (result='same');
    if c{i}^=c{i-1} then result='diff';
  end;

run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Mar 2018 17:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441643#M110508</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-03-02T17:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441686#M110523</link>
      <description>&lt;P&gt;OK, so a blank is not meant to establish an inequality.&amp;nbsp; Then:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want (drop=i word);

  set have;
  array c{4} $ c1-c4;

  word=scan(catx(' ',of c{*}),1);

  result='same';
  do I=1 to dim(c) while (result='same');
    if NOT(c{i}=word or c{i}='') then result='diff';
  end;

run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This strategy here is the same as my previous submission.&amp;nbsp; Default result to 'same' until proven otherwise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 18:44:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441686#M110523</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-03-02T18:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441713#M110535</link>
      <description>&lt;P&gt;awesome! thank you.&lt;BR /&gt;could you please explain this:&lt;/P&gt;&lt;PRE&gt;if NOT(c{i}=word or c{i}='') then result='diff';&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 20:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441713#M110535</guid>
      <dc:creator>indox</dc:creator>
      <dc:date>2018-03-02T20:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441924#M110540</link>
      <description>&lt;P&gt;The logical expression&amp;nbsp; NOT(a or b) is the same as&amp;nbsp;&amp;nbsp; NOT(a) and NOT(b), so&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if NOT(c{i}=word or c{i}='') then result='diff';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is the same as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if c{i}^=word and c{i}^=' ' then result='diff';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since WORD is the first non-blank among c{1}-c{4}, this IF expression tests for whether there is inequality among non-blank values in your array.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 21:33:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/441924#M110540</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-03-02T21:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/548974#M152274</link>
      <description>&lt;P&gt;Hi Mkeintz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code for the comparison of multiple character variables was very helpful. Thank you. However, this code only picked up when there&amp;nbsp;was only one word&amp;nbsp;in the entry (for eg., in race variable: White, Black, Asian and so on), but it did not pick up races like African American/Black, Alaska Natives. Could you please help me with this? Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; want &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;drop&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;i word&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; have&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token statement"&gt;array&lt;/SPAN&gt; c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;4&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;$&lt;/SPAN&gt; c1&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;c4&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; word&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;scan&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;catx&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;' '&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;of c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; result&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'same'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; do I&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt; to &lt;SPAN class="token function"&gt;dim&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;c&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; while &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;result&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'same'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;NOT&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;i&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;word or c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;i&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;''&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt; result&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'diff'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; end&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/548974#M152274</guid>
      <dc:creator>HarryB</dc:creator>
      <dc:date>2019-04-05T21:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/549472#M152473</link>
      <description>&lt;P&gt;Instead of using a blank as the separator in the CATX function, use some other character that is not in any of the values -say'!':&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want (drop=i word);

  set have;
  array c{4} $ c1-c4;

  word=scan(catx('!',of c{*}),1);

  result='same';
  do I=1 to dim(c) while (result='same');
    if NOT(c{i}=word or c{i}='') then result='diff';
  end;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2019 04:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/549472#M152473</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2019-04-09T04:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Compare multiple character variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/549793#M152609</link>
      <description>&lt;P&gt;Thank you Mkeintz!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, it did not work for my data. I received the following info in the log; could you please help me to figure this out. Thank you SO much!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; want &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;drop&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;i word&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; have&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token statement"&gt;array&lt;/SPAN&gt; c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;87&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&amp;nbsp; &lt;/SPAN&gt;$ Race_171--Race_1787;&lt;/P&gt;&lt;P&gt;&amp;nbsp; word&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;scan&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;catx&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'!'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;of c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; result&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'same'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; do I&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt; to &lt;SPAN class="token function"&gt;dim&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;c&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; while &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;result&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'same'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;NOT&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;i&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;word or c&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;i&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;''&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt; result&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'diff'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; end&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INFO: Character variables have defaulted to a length of 200 at the places given by:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(Line):(Column). Truncation can result.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;210:3 word&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 20:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-multiple-character-variables/m-p/549793#M152609</guid>
      <dc:creator>HarryB</dc:creator>
      <dc:date>2019-04-09T20:16:11Z</dc:date>
    </item>
  </channel>
</rss>

