<?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: Insert escape character in a row in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501979#M133932</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/80121"&gt;@svmtho&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#000000" face="Courier New" size="2"&gt;Here is the code. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;listing&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;escapechar&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; =&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"~"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"H:\Summary report.pdf"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bookmarkgen&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;no&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;proc&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=_all_report &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headline&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headskip&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nowd&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title1&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"AD Summary"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;column&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title count pg; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in}; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; count / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in};&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; pg / order &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noprint&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BREAK&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;AFTER&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; pg/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;page&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Now WHICH variable is the one you want to insert characters into?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 16:15:11 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-10-05T16:15:11Z</dc:date>
    <item>
      <title>Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501949#M133917</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 200 character length observation and&amp;nbsp;I wanted&amp;nbsp;to insert escape character every 30 characters so I can break the text into multiple lines in&amp;nbsp;the report to look better.&amp;nbsp;I am not sure how to get it. Could someone please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Svm&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 15:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501949#M133917</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T15:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501957#M133921</link>
      <description>I believe it is going to depend on your output. What destination are you using, Excel, RTF, PowerPoint, PDF?</description>
      <pubDate>Fri, 05 Oct 2018 15:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501957#M133921</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-05T15:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501958#M133922</link>
      <description>&lt;P&gt;The proper character(s) may vary depending on the destination of the output and possibly the procedure used. So, which output destination are you using and what code are you using to create the report?&lt;/P&gt;
&lt;P&gt;Example data may help as well.&lt;/P&gt;
&lt;P&gt;Note that "inserting" characters may fail at a point because adding characters may make the length exceed the defined length of the variable an so would result in truncating (removing) the right most characters of your original variable.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 15:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501958#M133922</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-05T15:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501966#M133927</link>
      <description>&lt;P&gt;I am using PDF Reeza.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 15:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501966#M133927</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501971#M133929</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="Courier New" size="2"&gt;Here is the code. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;listing&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;escapechar&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; =&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"~"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"H:\Summary report.pdf"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bookmarkgen&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;no&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;proc&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=_all_report &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headline&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headskip&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nowd&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title1&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"AD Summary"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;column&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title count pg; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in}; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; count / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; pg / order &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noprint&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BREAK&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;AFTER&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; pg/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;page&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:02:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501971#M133929</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T16:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501977#M133931</link>
      <description>&lt;P&gt;SAS should wrap the text for you automatically in a PDF file.&lt;/P&gt;
&lt;P&gt;I made a sample dataset for your report and ran it via SAS/Studio that automatically produces PDF output file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 pg=1;
 legnth title $200 ;
 title=repeat('1234567890',19);
 count=1;
run;

proc report data=have headline headskip nowd ;
  title1 "AD Summary";
  column title count pg;
  define title / " " display style(column)={width=3.5in};
  define count / " " display style(column)={width=6.5in};
  define pg / order noprint;
  BREAK AFTER pg/page;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23820i341FE46CEC610D08/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the text has spaces in it then they will be used help make the splits clearer.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:14:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501977#M133931</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-10-05T16:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501979#M133932</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/80121"&gt;@svmtho&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#000000" face="Courier New" size="2"&gt;Here is the code. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;listing&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;escapechar&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; =&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"~"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"H:\Summary report.pdf"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bookmarkgen&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;no&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;proc&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=_all_report &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headline&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headskip&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nowd&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title1&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"AD Summary"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;column&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title count pg; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in}; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; count / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in};&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; pg / order &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noprint&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BREAK&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;AFTER&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; pg/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;page&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Now WHICH variable is the one you want to insert characters into?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:15:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501979#M133932</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-05T16:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501984#M133934</link>
      <description>&lt;P&gt;I want to insert the characters in count variable.&amp;nbsp;The issue I was seeing is the text is getting over the border line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.JPG" style="width: 94px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23821iD5ACB7EFA44DF300/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.JPG" alt="test.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501984#M133934</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T16:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501986#M133936</link>
      <description>&lt;P&gt;Are there no internal blanks in your text?&amp;nbsp;&amp;nbsp; That's how your image looks.&amp;nbsp;&amp;nbsp; Would it be ok to change&amp;nbsp;all occurrences of a comma with a comma followed by a blank?&amp;nbsp;&amp;nbsp; Then the automatic text wrap in PDF might be more likely to&amp;nbsp;avoid writing over the cell boundary.&amp;nbsp; You wouldn't have to put escape characters at fixed intervals, allowing more appealing line wraps for proportional fonts.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501986#M133936</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-05T16:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501993#M133940</link>
      <description>&lt;P&gt;I tired to insert space after comma&amp;nbsp;but it wasn't' successful. &amp;nbsp;PFA&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.JPG" style="width: 231px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23822i901643FB71FECDF0/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.JPG" alt="test.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501993#M133940</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501994#M133941</link>
      <description>Please show what you tried. That will likely fix the issue. Are you using CATX() or || to build the variable? CATX will include the space.</description>
      <pubDate>Fri, 05 Oct 2018 16:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501994#M133941</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-05T16:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501999#M133944</link>
      <description>&lt;P&gt;I am creating the list using&amp;nbsp;sql into separated by ", "&amp;nbsp; and resolving it in a data step.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 17:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/501999#M133944</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T17:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/502000#M133945</link>
      <description>&lt;P&gt;Post your code. If you had a space in the separator it would not occur.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/80121"&gt;@svmtho&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am creating the list using&amp;nbsp;sql into separated by ", "&amp;nbsp; and resolving it in a data step.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 17:14:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/502000#M133945</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-05T17:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Insert escape character in a row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/502004#M133949</link>
      <description>&lt;P&gt;here is the sample code and data which is kind of similar to my data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noprint&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; key &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;into&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;:abc separated &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;by&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;", "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sashelp.aacomp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; _All_report;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;title=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"This is a test"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;count=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;abc."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;listing&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;escapechar&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; =&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"~"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"H:\Summary.pdf"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bookmarkgen&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;no&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;proc&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=_all_report &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headline&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headskip&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nowd&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title1&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Summary"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;column&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title count ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; title / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in}; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; count / &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" "&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column)={&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 17:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-escape-character-in-a-row/m-p/502004#M133949</guid>
      <dc:creator>svmtho</dc:creator>
      <dc:date>2018-10-05T17:44:19Z</dc:date>
    </item>
  </channel>
</rss>

