<?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: Add digits to the value in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Add-digits-to-the-value/m-p/726821#M28151</link>
    <description>Is it a character or numeric variable?&lt;BR /&gt;Assuming it's character since you have leading zeros, then you can use the CAT() and CAT_() family of functions. &lt;BR /&gt;&lt;BR /&gt;data want;&lt;BR /&gt;set have;&lt;BR /&gt;&lt;BR /&gt;NEW_ID = catt("20", OLD_ID);&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Mar 2021 16:21:10 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-03-16T16:21:10Z</dc:date>
    <item>
      <title>Add digits to the value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Add-digits-to-the-value/m-p/726817#M28150</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a dataset a;&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;003&lt;/P&gt;&lt;P&gt;004&lt;/P&gt;&lt;P&gt;006&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add "20" in front&amp;nbsp;of these values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dataset I want:&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;20003&lt;/P&gt;&lt;P&gt;20004&lt;/P&gt;&lt;P&gt;20006&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:17:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Add-digits-to-the-value/m-p/726817#M28150</guid>
      <dc:creator>Smitha9</dc:creator>
      <dc:date>2021-03-16T16:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add digits to the value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Add-digits-to-the-value/m-p/726821#M28151</link>
      <description>Is it a character or numeric variable?&lt;BR /&gt;Assuming it's character since you have leading zeros, then you can use the CAT() and CAT_() family of functions. &lt;BR /&gt;&lt;BR /&gt;data want;&lt;BR /&gt;set have;&lt;BR /&gt;&lt;BR /&gt;NEW_ID = catt("20", OLD_ID);&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Add-digits-to-the-value/m-p/726821#M28151</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-16T16:21:10Z</dc:date>
    </item>
  </channel>
</rss>

