<?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 Scanning a character in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17087#M3217</link>
    <description>I'm trying to find the best to extract a string value that is after the 2nd "/"?&lt;BR /&gt;
&lt;BR /&gt;
An example:&lt;BR /&gt;
/explore/hospitality/index.cfm&lt;BR /&gt;
&lt;BR /&gt;
I want to just have hospitality as the value.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Thu, 24 Feb 2011 17:55:37 GMT</pubDate>
    <dc:creator>nickb</dc:creator>
    <dc:date>2011-02-24T17:55:37Z</dc:date>
    <item>
      <title>Scanning a character</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17087#M3217</link>
      <description>I'm trying to find the best to extract a string value that is after the 2nd "/"?&lt;BR /&gt;
&lt;BR /&gt;
An example:&lt;BR /&gt;
/explore/hospitality/index.cfm&lt;BR /&gt;
&lt;BR /&gt;
I want to just have hospitality as the value.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Thu, 24 Feb 2011 17:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17087#M3217</guid>
      <dc:creator>nickb</dc:creator>
      <dc:date>2011-02-24T17:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scanning a character</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17088#M3218</link>
      <description>Look up the scan () function. &lt;BR /&gt;
&lt;BR /&gt;
scan ('/explore/hospitality/index.cfm', 2, '/');</description>
      <pubDate>Thu, 24 Feb 2011 18:36:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17088#M3218</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-02-24T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Scanning a character</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17089#M3219</link>
      <description>If this string may have varying "/" characters then you may want to look at the modifier B option to search backwards for the last one instead of a specific numbered position.</description>
      <pubDate>Thu, 24 Feb 2011 19:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scanning-a-character/m-p/17089#M3219</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-02-24T19:08:38Z</dc:date>
    </item>
  </channel>
</rss>

