<?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 Strip characters from a value in a column in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Strip-characters-from-a-value-in-a-column/m-p/1517#M471</link>
    <description>Hi. I am new to SAS (I havent had training yet - but did take the tutorial) and I am looking for a way to format data that I am using in EG. I have a column in my data that is based on customer names. Some names have additional info on the end that I need to remove. IE&lt;BR /&gt;
1. JOHN DOE&lt;BR /&gt;
2. JOHN DOE@SAS.COM&lt;BR /&gt;
If I wanted to strip the @SAS.com or everything after the @ , How would I do that?&lt;BR /&gt;
In the example above I would want John Doe counted twice not 2 different entries.&lt;BR /&gt;
Thanks.</description>
    <pubDate>Fri, 06 Oct 2006 14:35:27 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-10-06T14:35:27Z</dc:date>
    <item>
      <title>Strip characters from a value in a column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Strip-characters-from-a-value-in-a-column/m-p/1517#M471</link>
      <description>Hi. I am new to SAS (I havent had training yet - but did take the tutorial) and I am looking for a way to format data that I am using in EG. I have a column in my data that is based on customer names. Some names have additional info on the end that I need to remove. IE&lt;BR /&gt;
1. JOHN DOE&lt;BR /&gt;
2. JOHN DOE@SAS.COM&lt;BR /&gt;
If I wanted to strip the @SAS.com or everything after the @ , How would I do that?&lt;BR /&gt;
In the example above I would want John Doe counted twice not 2 different entries.&lt;BR /&gt;
Thanks.</description>
      <pubDate>Fri, 06 Oct 2006 14:35:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Strip-characters-from-a-value-in-a-column/m-p/1517#M471</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-10-06T14:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Strip characters from a value in a column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Strip-characters-from-a-value-in-a-column/m-p/1518#M472</link>
      <description>You can use the following function:&lt;BR /&gt;
&lt;BR /&gt;
var2 = scan ( var1 , 1 , '@' );</description>
      <pubDate>Fri, 06 Oct 2006 14:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Strip-characters-from-a-value-in-a-column/m-p/1518#M472</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-10-06T14:49:19Z</dc:date>
    </item>
  </channel>
</rss>

