<?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 How to cut a specific string in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668766#M36402</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd like to cut off a specific part from string. I'm looking for solution made in query builder with enterprise guide. I want to delete all parts containing 'PL003' or 'PL005'.&lt;/P&gt;&lt;P&gt;Example string:&lt;/P&gt;&lt;P&gt;PL0031234&lt;/P&gt;&lt;P&gt;PL00512345&lt;/P&gt;&lt;P&gt;PL003PL005123456&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My target to achieve:&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;12345&lt;/P&gt;&lt;P&gt;123456&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 09:39:12 GMT</pubDate>
    <dc:creator>PatrykSAS</dc:creator>
    <dc:date>2020-07-13T09:39:12Z</dc:date>
    <item>
      <title>How to cut a specific string</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668766#M36402</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd like to cut off a specific part from string. I'm looking for solution made in query builder with enterprise guide. I want to delete all parts containing 'PL003' or 'PL005'.&lt;/P&gt;&lt;P&gt;Example string:&lt;/P&gt;&lt;P&gt;PL0031234&lt;/P&gt;&lt;P&gt;PL00512345&lt;/P&gt;&lt;P&gt;PL003PL005123456&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My target to achieve:&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;12345&lt;/P&gt;&lt;P&gt;123456&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 09:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668766#M36402</guid>
      <dc:creator>PatrykSAS</dc:creator>
      <dc:date>2020-07-13T09:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to cut a specific string</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668778#M36404</link>
      <description>&lt;P&gt;In the Query builder, create new calculated column, as 'Advanced Expression', and in the expression use the following&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* new */
(PRXCHANGE('s/PL00\d//',-1,t1.x)) AS new&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will give you the desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668778#M36404</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-07-13T11:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to cut a specific string</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668781#M36405</link>
      <description>&lt;P&gt;Thanks a lot! This expression works great.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:28:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-cut-a-specific-string/m-p/668781#M36405</guid>
      <dc:creator>PatrykSAS</dc:creator>
      <dc:date>2020-07-13T11:28:19Z</dc:date>
    </item>
  </channel>
</rss>

