<?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 remove characters! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144449#M261876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one variable with the year. I want to remove the year. Could you let me know how to do so? Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, &lt;/P&gt;&lt;P&gt;Name &lt;/P&gt;&lt;P&gt;ABB3 (1942)&lt;/P&gt;&lt;P&gt;A12 &lt;/P&gt;&lt;P&gt;A1E (2001)&lt;/P&gt;&lt;P&gt;AM2E (2012)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have:&lt;/P&gt;&lt;P&gt;Name &lt;/P&gt;&lt;P&gt;ABB3 &lt;/P&gt;&lt;P&gt;A12 &lt;/P&gt;&lt;P&gt;A1E &lt;/P&gt;&lt;P&gt;AM2E &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 10:14:54 GMT</pubDate>
    <dc:creator>vxhong17</dc:creator>
    <dc:date>2014-01-17T10:14:54Z</dc:date>
    <item>
      <title>remove characters!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144449#M261876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one variable with the year. I want to remove the year. Could you let me know how to do so? Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, &lt;/P&gt;&lt;P&gt;Name &lt;/P&gt;&lt;P&gt;ABB3 (1942)&lt;/P&gt;&lt;P&gt;A12 &lt;/P&gt;&lt;P&gt;A1E (2001)&lt;/P&gt;&lt;P&gt;AM2E (2012)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have:&lt;/P&gt;&lt;P&gt;Name &lt;/P&gt;&lt;P&gt;ABB3 &lt;/P&gt;&lt;P&gt;A12 &lt;/P&gt;&lt;P&gt;A1E &lt;/P&gt;&lt;P&gt;AM2E &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 10:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144449#M261876</guid>
      <dc:creator>vxhong17</dc:creator>
      <dc:date>2014-01-17T10:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: remove characters!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144450#M261877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a bunch of character string function that you can exploit, such as substr, findc...&lt;/P&gt;&lt;P&gt;This must be one of the most common topics (beside date handling), a lot of examples are available on these forums, and support.sas.com.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 10:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144450#M261877</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-01-17T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: remove characters!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144451#M261878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the Scan function to get all the characters before the bracket "(".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 11:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144451#M261878</guid>
      <dc:creator>VarunIyer</dc:creator>
      <dc:date>2014-01-17T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: remove characters!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144452#M261879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10pt; font-family: Consolas;"&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10pt; font-family: Consolas;"&gt;you can try this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10pt; font-family: Consolas;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: Consolas;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt; Name &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: teal; font-family: Consolas;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;name=scan(name,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10pt; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: purple; font-family: Consolas;"&gt;'('&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: Consolas;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: #ffffc0; color: black; font-family: Consolas;"&gt;ABB3 (1942)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: #ffffc0; color: black; font-family: Consolas;"&gt;A12 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: #ffffc0; color: black; font-family: Consolas;"&gt;A1E (2001)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: #ffffc0; color: black; font-family: Consolas;"&gt;AM2E (2012)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10pt; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 11:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144452#M261879</guid>
      <dc:creator>pradeepalankar</dc:creator>
      <dc:date>2014-01-17T11:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: remove characters!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144453#M261880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pradeepalankar, LinusH, and Varunlyer, &lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 22:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-characters/m-p/144453#M261880</guid>
      <dc:creator>vxhong17</dc:creator>
      <dc:date>2014-01-19T22:13:07Z</dc:date>
    </item>
  </channel>
</rss>

