<?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: Removing Special Characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487756#M127112</link>
    <description>&lt;P&gt;A few simple answers will let any one of the responders on this board solve your problem.&amp;nbsp; I apologize if they seem too simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your data already in a SAS data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, do you know the names of the variables in the SAS data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, what is the name of the variable that might contain a left-hand parenthesis that you want to remove?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there any other characters (besides a left-hand parenthesis) that you might want to remove?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 13:33:10 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-08-17T13:33:10Z</dc:date>
    <item>
      <title>Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487686#M127095</link>
      <description>&lt;P&gt;hi there!&lt;/P&gt;&lt;P&gt;please help me to figure what mistake occur here&lt;/P&gt;&lt;P&gt;balls=compress('12(','(');&lt;/P&gt;&lt;P&gt;i want remove "(" open parenthesis for all variables "balls"&lt;/P&gt;&lt;P&gt;balls is variable name&lt;/P&gt;&lt;P&gt;"12(" is observation value like for entire variable columns&lt;/P&gt;&lt;P&gt;"3)" and so on.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 09:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487686#M127095</guid>
      <dc:creator>navinrraj</dc:creator>
      <dc:date>2018-08-17T09:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487689#M127098</link>
      <description>&lt;P&gt;The syntax as such is correct. What's the problem? What's not working?&lt;/P&gt;
&lt;P&gt;Please provide representative sample data in the form of a working and tested SAS data step and then explain us how the desired result should look like - or just post the data of the desired outcome.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 09:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487689#M127098</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-08-17T09:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487690#M127099</link>
      <description>&lt;P&gt;And what is the problem?&amp;nbsp; That code works fine:&lt;/P&gt;
&lt;PRE&gt;data want;
  balls=compress('12(','(');
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Aug 2018 09:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487690#M127099</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-17T09:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487693#M127100</link>
      <description>&lt;P&gt;but 12 prints entire column&lt;/P&gt;&lt;P&gt;i want print 12 value for paritcular row only&lt;/P&gt;&lt;P&gt;balls=compress('12(','(');&lt;/P&gt;&lt;P&gt;is not working for tat&lt;/P&gt;&lt;P&gt;balls&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;12 its print like this&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 10:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487693#M127100</guid>
      <dc:creator>navinrraj</dc:creator>
      <dc:date>2018-08-17T10:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487694#M127101</link>
      <description>&lt;P&gt;Read &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;'s post and act on it. Post&amp;nbsp;&lt;EM&gt;usable&lt;/EM&gt; example data as advised, and the expected outcome.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 10:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487694#M127101</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-17T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487695#M127102</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/224872"&gt;@navinrraj&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;How do you expect us to help you if you don't show us what you have and what you need? Please spend a bit of time to formulate a clear question and provide all the information required to answer your question (...you've got more characters here than on Twitter so don't hold back...)&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 10:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487695#M127102</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-08-17T10:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487696#M127103</link>
      <description>&lt;P&gt;Please post a comprehensive example of what you mean.&amp;nbsp; The statement:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;balls=compress('12(','(');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Will, for every row, set the value to be 12 as that is what you have told it to do.&amp;nbsp; What is it you want?&amp;nbsp; Maybe:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if findc(balls,"(") then balls=compress(balls,"(");&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Don't keep&amp;nbsp; us guessing, test data in the form of a datastep and what you want out!!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 10:16:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487696#M127103</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-17T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487756#M127112</link>
      <description>&lt;P&gt;A few simple answers will let any one of the responders on this board solve your problem.&amp;nbsp; I apologize if they seem too simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your data already in a SAS data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, do you know the names of the variables in the SAS data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, what is the name of the variable that might contain a left-hand parenthesis that you want to remove?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there any other characters (besides a left-hand parenthesis) that you might want to remove?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 13:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487756#M127112</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-08-17T13:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487800#M127118</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/224872"&gt;@navinrraj&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;but 12 prints entire column&lt;/P&gt;
&lt;P&gt;i want print 12 value for paritcular row only&lt;/P&gt;
&lt;P&gt;balls=compress('12(','(');&lt;/P&gt;
&lt;P&gt;is not working for tat&lt;/P&gt;
&lt;P&gt;balls&lt;/P&gt;
&lt;P&gt;12&lt;/P&gt;
&lt;P&gt;12&lt;/P&gt;
&lt;P&gt;12&lt;/P&gt;
&lt;P&gt;12&lt;/P&gt;
&lt;P&gt;12&lt;/P&gt;
&lt;P&gt;12 its print like this&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;HOW are you "printing"?&lt;/P&gt;
&lt;P&gt;"Particular row" how do you identify the "particular row". There is nothing in your (very incomplete)&amp;nbsp;code that restricts this to any specific row.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/487800#M127118</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-17T15:00:33Z</dc:date>
    </item>
  </channel>
</rss>

