<?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: Extract Characters from Column in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334693#M22261</link>
    <description>&lt;P&gt;Thank you. It worked&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 16:02:39 GMT</pubDate>
    <dc:creator>sushil540</dc:creator>
    <dc:date>2017-02-21T16:02:39Z</dc:date>
    <item>
      <title>Extract Characters from Column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334025#M22204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to extract Characters (Major) from a Field (Acadmic Program)&lt;/P&gt;&lt;P&gt;Example Below is Acadmic_Program that has Major and Degree. I am tryint to create a computed column in SAS enterprise Guide&lt;/P&gt;&lt;P&gt;to extract the Majors.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENGL.AA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MATH.AS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PSY.AAS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For no i used Substring function &lt;STRONG&gt;(SUBSTR(t1.ACAD_PROGRAM,1,4)&lt;/STRONG&gt; but it extracts first 4 characters and gives following output&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENGL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MATH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PSY.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i elimate the &lt;STRONG&gt;Period&lt;/STRONG&gt;. I tried &lt;STRONG&gt;find&lt;/STRONG&gt; function like in excel but it doesnt seem to work the same way&lt;/P&gt;&lt;P&gt;My output should be&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENGL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MATH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PSY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 04:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334025#M22204</guid>
      <dc:creator>sushil540</dc:creator>
      <dc:date>2017-02-18T04:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Characters from Column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334030#M22205</link>
      <description>I don't use EG and I wonder if major=scan(Acadmic_Program,1); will work in EG.&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Feb 2017 04:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334030#M22205</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2017-02-18T04:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Characters from Column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334077#M22210</link>
      <description>&lt;P&gt;Yes, you can use that function in EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The method is to use the query builder, and create a new advanced expression. You can then put the function into the expression.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 15:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334077#M22210</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-02-18T15:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Characters from Column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334693#M22261</link>
      <description>&lt;P&gt;Thank you. It worked&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 16:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-Characters-from-Column/m-p/334693#M22261</guid>
      <dc:creator>sushil540</dc:creator>
      <dc:date>2017-02-21T16:02:39Z</dc:date>
    </item>
  </channel>
</rss>

