<?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: I have a alphanumric string  now i want to split it into 3, Fname, ID &amp;amp; LName in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-have-a-alphanumric-string-now-i-want-to-split-it-into-3-Fname/m-p/804426#M316778</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set name;
   Fname = scan(name, 1, , 'd');
   ID = compress(name, , 'kd');
   Lanme = scan(name, 2, , 'd');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 27 Mar 2022 18:47:36 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2022-03-27T18:47:36Z</dc:date>
    <item>
      <title>I have a alphanumric string  now i want to split it into 3, Fname, ID &amp; LName</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-have-a-alphanumric-string-now-i-want-to-split-it-into-3-Fname/m-p/804425#M316777</link>
      <description>&lt;P&gt;Hi i have a data in this way, now i need to split to Fname,ID,Lname&lt;/P&gt;&lt;P&gt;data name;&lt;BR /&gt;input name $15.;&lt;BR /&gt;cards;&lt;BR /&gt;ravi123kiran&lt;BR /&gt;varun74589teja&lt;/P&gt;&lt;P&gt;niranjan965vasanth&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;Fname ID Lanme&lt;/P&gt;&lt;P&gt;ravi&amp;nbsp;123 kiran&lt;/P&gt;&lt;P&gt;varun 74589 teja&lt;/P&gt;&lt;P&gt;niranjan 965 vasanth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 18:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-have-a-alphanumric-string-now-i-want-to-split-it-into-3-Fname/m-p/804425#M316777</guid>
      <dc:creator>ravikiran2627</dc:creator>
      <dc:date>2022-03-27T18:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: I have a alphanumric string  now i want to split it into 3, Fname, ID &amp; LName</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-have-a-alphanumric-string-now-i-want-to-split-it-into-3-Fname/m-p/804426#M316778</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set name;
   Fname = scan(name, 1, , 'd');
   ID = compress(name, , 'kd');
   Lanme = scan(name, 2, , 'd');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Mar 2022 18:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-have-a-alphanumric-string-now-i-want-to-split-it-into-3-Fname/m-p/804426#M316778</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-03-27T18:47:36Z</dc:date>
    </item>
  </channel>
</rss>

