<?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 hypen in string character in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insert-hyphen-in-string-character/m-p/889609#M351501</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;target = catx("-",substr(source,1,2),substr(source,3,3),substr(source,6,3),substr(source,9));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Set the required length for target before this with a LENGTH statement.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2023 09:19:02 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-08-17T09:19:02Z</dc:date>
    <item>
      <title>Insert hyphen in string character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-hyphen-in-string-character/m-p/889607#M351499</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a string character like that AB032001ZWXY and I have to convert to AB-032-001-ZWXY by inserting hyphen, how can I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 16:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-hyphen-in-string-character/m-p/889607#M351499</guid>
      <dc:creator>Moise</dc:creator>
      <dc:date>2023-08-17T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Insert hypen in string character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-hyphen-in-string-character/m-p/889609#M351501</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;target = catx("-",substr(source,1,2),substr(source,3,3),substr(source,6,3),substr(source,9));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Set the required length for target before this with a LENGTH statement.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 09:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-hyphen-in-string-character/m-p/889609#M351501</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-17T09:19:02Z</dc:date>
    </item>
  </channel>
</rss>

