<?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 how toinclude &amp;quot; and ' in&amp;quot; &amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551424#M153207</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I put ' and " among ' ' in the following code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%MACRO CompnayNameM(no=,Company_name=);

	Data DATASTREAM3_1&amp;amp;no.;
		Set Step9.Datastream_TOTAL_Step3_1;
		if findc(&amp;amp;COMPANY_NAME._Step23, '-’”&lt;STRONG&gt;&lt;U&gt;'"&lt;/U&gt;&lt;/STRONG&gt;#*@!?/&amp;amp;():;,. 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ','K')&amp;gt;0;
		keep &amp;amp;COMPANY_NAME. &amp;amp;COMPANY_NAME._Step23;
	run;

%MEND CompnayNameM;
%CompnayNameM(no=1,Company_name=NAME)
%CompnayNameM(no=2,Company_name=COMPANY_NAME)
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Could you please give me some suggestions? thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 15:40:10 GMT</pubDate>
    <dc:creator>Alexxxxxxx</dc:creator>
    <dc:date>2019-04-16T15:40:10Z</dc:date>
    <item>
      <title>how toinclude " and ' in" "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551424#M153207</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I put ' and " among ' ' in the following code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%MACRO CompnayNameM(no=,Company_name=);

	Data DATASTREAM3_1&amp;amp;no.;
		Set Step9.Datastream_TOTAL_Step3_1;
		if findc(&amp;amp;COMPANY_NAME._Step23, '-’”&lt;STRONG&gt;&lt;U&gt;'"&lt;/U&gt;&lt;/STRONG&gt;#*@!?/&amp;amp;():;,. 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ','K')&amp;gt;0;
		keep &amp;amp;COMPANY_NAME. &amp;amp;COMPANY_NAME._Step23;
	run;

%MEND CompnayNameM;
%CompnayNameM(no=1,Company_name=NAME)
%CompnayNameM(no=2,Company_name=COMPANY_NAME)
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Could you please give me some suggestions? thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 15:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551424#M153207</guid>
      <dc:creator>Alexxxxxxx</dc:creator>
      <dc:date>2019-04-16T15:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: how toinclude " and ' in" "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551430#M153212</link>
      <description>&lt;P&gt;There's a general principle involved.&amp;nbsp; When using single quotes to denote a string, refer to a single quote inside the string as two consecutive single quotes.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;'A''B'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refers to the same string as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;"A'B"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 15:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551430#M153212</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-04-16T15:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: how toinclude " and ' in" "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551432#M153214</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/262815"&gt;@Alexxxxxxx&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I put ' and " among ' ' in the following code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%MACRO CompnayNameM(no=,Company_name=);

	Data DATASTREAM3_1&amp;amp;no.;
		Set Step9.Datastream_TOTAL_Step3_1;
		if findc(&amp;amp;COMPANY_NAME._Step23, '-’”&lt;STRONG&gt;&lt;U&gt;'"&lt;/U&gt;&lt;/STRONG&gt;#*@!?/&amp;amp;():;,. 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ','K')&amp;gt;0;
		keep &amp;amp;COMPANY_NAME. &amp;amp;COMPANY_NAME._Step23;
	run;

%MEND CompnayNameM;
%CompnayNameM(no=1,Company_name=NAME)
%CompnayNameM(no=2,Company_name=COMPANY_NAME)
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Could you please give me some suggestions? thanks in advance.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You might be better off explaining which characters you are actually searching for. You have included in your list things that would appear with the modifiers UDP so the character list is way longer than needed.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 15:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551432#M153214</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-16T15:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: how toinclude " and ' in" "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551437#M153216</link>
      <description>&lt;P&gt;Here's a quick example of how to get both single (') and double (") quotes into a string&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_ ;
	string="abc'def""ghi" ;
	put string= ;
	
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Note because I used double quotes for my string, I needed to use 2 sets of double&amp;nbsp; quotes inside the string&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-toinclude-quot-and-in-quot-quot/m-p/551437#M153216</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2019-04-16T16:26:31Z</dc:date>
    </item>
  </channel>
</rss>

