<?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: There is a space appearing where i dont want one. in Developers</title>
    <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57706#M3069</link>
    <description>Does this DATA Step code illustrate the problem and solution?&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data _null_;&lt;BR /&gt;
Lot_id='AL100379';&lt;BR /&gt;
Lot_priority=2;&lt;BR /&gt;
put '&amp;lt;a href="' lot_id '"&amp;gt;'       Lot_id       '&amp;lt;/a&amp;gt; Priority: ' Lot_priority       '&amp;lt;br/&amp;gt;';&lt;BR /&gt;
put '&amp;lt;a href="' lot_id +(-1) '"&amp;gt;' Lot_id +(-1) '&amp;lt;/a&amp;gt; Priority: ' Lot_priority +(-1) '&amp;lt;br/&amp;gt;';&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
    <pubDate>Tue, 04 Jan 2011 14:46:50 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2011-01-04T14:46:50Z</dc:date>
    <item>
      <title>There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57704#M3067</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I'm using a stored process to create an HTML file, i want to place a row with a link like this:&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
if first.lot_id then put '&lt;A href="https://communities.sas.com/'lot_id'"&gt;'Lot_id'&lt;/A&gt; Priority: ' Lot_priority '&lt;BR /&gt;';&lt;BR /&gt;
 run;&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
the result in the HTML file generates:&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="AL100379/1 "&gt;AL100379/1 &lt;/A&gt; Priority: 2 &lt;BR /&gt;&lt;BR /&gt;
&lt;A href="AL100402 "&gt;AL100402 &lt;/A&gt; Priority: 2 &lt;BR /&gt;&lt;BR /&gt;
&lt;A href="AL100403 "&gt;AL100403 &lt;/A&gt; Priority: 2 &lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;
as you can see there is always a space after the number in the url. I tried trim, strip or compress but i think the problem is situating in the quoting of my string. Any help?&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Filipvdr&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Filipvdr&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Filipvdr

Message was edited by: Filipvdr</description>
      <pubDate>Tue, 04 Jan 2011 12:18:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57704#M3067</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2011-01-04T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57705#M3068</link>
      <description>can somebody tell me how i can put the code here without it generating HTML?</description>
      <pubDate>Tue, 04 Jan 2011 12:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57705#M3068</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2011-01-04T12:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57706#M3069</link>
      <description>Does this DATA Step code illustrate the problem and solution?&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data _null_;&lt;BR /&gt;
Lot_id='AL100379';&lt;BR /&gt;
Lot_priority=2;&lt;BR /&gt;
put '&amp;lt;a href="' lot_id '"&amp;gt;'       Lot_id       '&amp;lt;/a&amp;gt; Priority: ' Lot_priority       '&amp;lt;br/&amp;gt;';&lt;BR /&gt;
put '&amp;lt;a href="' lot_id +(-1) '"&amp;gt;' Lot_id +(-1) '&amp;lt;/a&amp;gt; Priority: ' Lot_priority +(-1) '&amp;lt;br/&amp;gt;';&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 04 Jan 2011 14:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57706#M3069</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2011-01-04T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57707#M3070</link>
      <description>Hi:&lt;BR /&gt;
In order to post code, protect &amp;gt; and &amp;lt; symbols, preserve code formatting and output indention and to otherwise learn how to post special symbols to the forum, refer to this previous forum posting. It talks about the LT and GT symbols and also discusses how to emphasize code and how to surround code snippets with [pre] and [/pre] (as you discovered &lt;PRE&gt; do not preserve code formatting).&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=27609毙" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=27609毙&lt;/A&gt;&lt;BR /&gt;
   &lt;BR /&gt;
cynthia&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Jan 2011 16:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57707#M3070</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-04T16:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57708#M3071</link>
      <description>i still get :&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&amp;lt;a href="AL100379 "&amp;gt;AL100379 &amp;lt;/a&amp;gt; Priority: 2 &amp;lt;br/&amp;gt;&amp;lt;a href="AL100379 "&amp;gt;AL100379 &amp;lt;/a&amp;gt; Priority: 2 &amp;lt;br/&amp;gt;&amp;lt;a href="AL100379 "&amp;gt;AL100379 &amp;lt;/a&amp;gt; Priority: 2 &amp;lt;br/&amp;gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
and as you can see, after the number is still a space and i used the following code:&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
 if first.lot_id then do;&lt;BR /&gt;
Lot_id='AL100379';&lt;BR /&gt;
Lot_priority=2;&lt;BR /&gt;
put '&amp;lt;a href="' lot_id '"&amp;gt;'       Lot_id       '&amp;lt;/a&amp;gt; Priority: ' Lot_priority       '&amp;lt;br/&amp;gt;';&lt;BR /&gt;
/* put line;*/&lt;BR /&gt;
end;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Filipvdr

Message was edited by: Filipvdr</description>
      <pubDate>Wed, 05 Jan 2011 07:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57708#M3071</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2011-01-05T07:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57709#M3072</link>
      <description>The first PUT statement in my posting illustrates the problem, and the second one illustrates the solution.  Try using the second format.&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Wed, 05 Jan 2011 13:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57709#M3072</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2011-01-05T13:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: There is a space appearing where i dont want one.</title>
      <link>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57710#M3073</link>
      <description>Oh sorry, i didn"t understand. But yes yes, this works, thanks a lot!</description>
      <pubDate>Wed, 05 Jan 2011 13:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/There-is-a-space-appearing-where-i-dont-want-one/m-p/57710#M3073</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2011-01-05T13:33:06Z</dc:date>
    </item>
  </channel>
</rss>

