<?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 Mask special character &amp;quot;/&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mask-special-character-quot-quot/m-p/478197#M123287</link>
    <description>&lt;P&gt;Hello, if I want to print to the log window the next sentence :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%put Today is 15/07/2018;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why I don't need to add %nrbquote function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"/" is one of the special characters in %nrbquote / %bquote / %str / %nrstr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/62978/HTML/default/viewer.htm#p06cx7fegzmzpen1m9991yljxiav.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/62978/HTML/default/viewer.htm#p06cx7fegzmzpen1m9991yljxiav.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jul 2018 12:31:43 GMT</pubDate>
    <dc:creator>AlexeyS</dc:creator>
    <dc:date>2018-07-15T12:31:43Z</dc:date>
    <item>
      <title>Mask special character "/"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-special-character-quot-quot/m-p/478197#M123287</link>
      <description>&lt;P&gt;Hello, if I want to print to the log window the next sentence :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%put Today is 15/07/2018;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why I don't need to add %nrbquote function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"/" is one of the special characters in %nrbquote / %bquote / %str / %nrstr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/62978/HTML/default/viewer.htm#p06cx7fegzmzpen1m9991yljxiav.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/62978/HTML/default/viewer.htm#p06cx7fegzmzpen1m9991yljxiav.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jul 2018 12:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-special-character-quot-quot/m-p/478197#M123287</guid>
      <dc:creator>AlexeyS</dc:creator>
      <dc:date>2018-07-15T12:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mask special character "/"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-special-character-quot-quot/m-p/478199#M123288</link>
      <description>&lt;P&gt;The %PUT statement does not perform any math.&amp;nbsp; So / does not trigger any actions on the part of macro language.&amp;nbsp; In other contexts, you would need to use a quoting function.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%if &amp;amp;d = 15/07/2018 %then %do;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%IF conditions always get %EVAL applied which would attempt to perform math.&amp;nbsp; So in the context of a %IF statement you would need specially handling.&amp;nbsp; There are a variety of ways to accomplish that, not just %nrbquote.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But to answer your original queston %PUT will always treat / as text so no function is needed.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jul 2018 13:04:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-special-character-quot-quot/m-p/478199#M123288</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-07-15T13:04:29Z</dc:date>
    </item>
  </channel>
</rss>

