<?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 get/cut some words in the midle of field in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797415#M287510</link>
    <description>Please somebody can help me:&lt;BR /&gt;How can i get/cut some words in the middle of field with delimetted? For example i want get word "adminFee" and next characthers (the amount of admin fee) ?&lt;BR /&gt;Examples:&lt;BR /&gt;I have field "Remarks" with contents: //name://davids://amount://100000://adminfee://500//date://20220131//city://jakarta//</description>
    <pubDate>Sat, 19 Feb 2022 20:30:00 GMT</pubDate>
    <dc:creator>Handihusen</dc:creator>
    <dc:date>2022-02-19T20:30:00Z</dc:date>
    <item>
      <title>get/cut some words in the midle of field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797415#M287510</link>
      <description>Please somebody can help me:&lt;BR /&gt;How can i get/cut some words in the middle of field with delimetted? For example i want get word "adminFee" and next characthers (the amount of admin fee) ?&lt;BR /&gt;Examples:&lt;BR /&gt;I have field "Remarks" with contents: //name://davids://amount://100000://adminfee://500//date://20220131//city://jakarta//</description>
      <pubDate>Sat, 19 Feb 2022 20:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797415#M287510</guid>
      <dc:creator>Handihusen</dc:creator>
      <dc:date>2022-02-19T20:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: get/cut some words in the midle of field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797427#M287518</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Build upon this :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _NULL_;
remarks = '//name://davids://amount://100000://adminfee://500//date://20220131//city://jakarta//';
pos=index(remarks,'adminfee'); put pos=;
adminfee=substr(remarks,pos,20); put adminfee=;
adminfee_amount = input(compress(adminfee,'abcdefghijklmnopqrstuvwxyz:/'),best12.); put adminfee_amount=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 21:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797427#M287518</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-02-19T21:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: get/cut some words in the midle of field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797437#M287532</link>
      <description>Thanks a lot mr/miss Koen.. you are the best &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;</description>
      <pubDate>Sun, 20 Feb 2022 02:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-cut-some-words-in-the-midle-of-field/m-p/797437#M287532</guid>
      <dc:creator>Handihusen</dc:creator>
      <dc:date>2022-02-20T02:11:38Z</dc:date>
    </item>
  </channel>
</rss>

