<?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: Data Manipulation in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Data-Manipulation/m-p/153386#M2657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if company_name = 'ABC Company "Software"' and tradestyle = 'Software' then company_name = 'ABC Company';&lt;/P&gt;&lt;P&gt;More generic:&lt;/P&gt;&lt;P&gt;if substr(company_name,length(company_name)-length(tradestyle)-1) = '"'!!trim(tradestyle)!!'"' then&lt;/P&gt;&lt;P&gt;company_name = substr(company_name,1,length(company_name)-length(tradestyle)-3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please avoid to post the same question to multiple communities in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 10:57:17 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2014-12-17T10:57:17Z</dc:date>
    <item>
      <title>Data Manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-Manipulation/m-p/153385#M2656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are 2 fields called Company Name and Tradestyle. My requirement is if company name is ABC Company "Software" and the tradestyle is Software; I have to change the company name to ABC Company. That means I have to remove the string in double quotes from the Company Name if it is matched to Tradestyle. Can anyone help on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 10:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-Manipulation/m-p/153385#M2656</guid>
      <dc:creator>gandikk</dc:creator>
      <dc:date>2014-12-17T10:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-Manipulation/m-p/153386#M2657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if company_name = 'ABC Company "Software"' and tradestyle = 'Software' then company_name = 'ABC Company';&lt;/P&gt;&lt;P&gt;More generic:&lt;/P&gt;&lt;P&gt;if substr(company_name,length(company_name)-length(tradestyle)-1) = '"'!!trim(tradestyle)!!'"' then&lt;/P&gt;&lt;P&gt;company_name = substr(company_name,1,length(company_name)-length(tradestyle)-3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please avoid to post the same question to multiple communities in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 10:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-Manipulation/m-p/153386#M2657</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-12-17T10:57:17Z</dc:date>
    </item>
  </channel>
</rss>

