<?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: 3rd position in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572600#M161602</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/21262"&gt;@hashman&lt;/a&gt;&amp;nbsp;&amp;nbsp;Done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 03:54:56 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2019-07-11T03:54:56Z</dc:date>
    <item>
      <title>3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570596#M160921</link>
      <description>&lt;P&gt;I have a string like&lt;BR /&gt;a='a, b, cd, ef, gdj'&lt;BR /&gt;How to find 3rd comma&lt;/P&gt;&lt;P&gt;I want 3rd position&amp;nbsp; for above&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 15:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570596#M160921</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-07-02T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570609#M160926</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA WORK.HAVE;
	a='a, b, cd, ef, gdj';
	NEWVar=SCAN(a,3);
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;a				NEWVar
a, b, cd, ef, gdj		cd&lt;/PRE&gt;&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 15:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570609#M160926</guid>
      <dc:creator>tsap</dc:creator>
      <dc:date>2019-07-02T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570731#M160963</link>
      <description>&lt;P&gt;This works if you want to know which position the 3rd comma is in. Stored in the third_loc var:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp(drop= i);
	a='a, b, cd, ef, gdj';
	do i = 1 to length(a);
		if substr(a,i,1)  = "," then comma_cnt+1;
		if comma_cnt=3 then do;
			third_loc=i;
			output;
			stop;
		end;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:27:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570731#M160963</guid>
      <dc:creator>noling</dc:creator>
      <dc:date>2019-07-02T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570744#M160968</link>
      <description>&lt;P&gt;If you were looking for the actual location of the literal third comma punctuation in the text and not the third value (delimited by the commas), you could also use this logic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data WORK.Have;
	a='a, b, cd, ef, gdj';
 	call scan(a,4,pos,len,',');
  	pos=pos-1;
  	drop len;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;resulting output:&lt;/P&gt;&lt;PRE&gt;Obs 	a 			pos 
1 	a, b, cd, ef, gdj 	9 

&lt;/PRE&gt;&lt;P&gt;Showing that the 3rd comma (',') was the 9th character in that text string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ref link to call scan: &lt;A href="http://support.sas.com/kb/41/355.html" target="_self"&gt;Sample 41355: Find the nth delimiter in a character string&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570744#M160968</guid>
      <dc:creator>tsap</dc:creator>
      <dc:date>2019-07-02T19:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570748#M160970</link>
      <description>&lt;P&gt;This is a much better solution than mine. I user an &amp;amp;iterator in scan so much that I forget you can just say "give me the nth value"!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 20:27:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570748#M160970</guid>
      <dc:creator>noling</dc:creator>
      <dc:date>2019-07-02T20:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570780#M160986</link>
      <description>&lt;P&gt;Another way:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  A='a, b, cd, ef, gdjh';
  POS=length(prxchange('s/(([^,]*,){3}).*/\1/',1,A));
  put POS=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;POS=9&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;This expression reads:

Find a group composed of:
(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;start of group
([^,]*,)&amp;nbsp; anything-not-a-comma&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;repeated as required&amp;nbsp; &amp;nbsp; &amp;nbsp; then a comma&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;   [^,]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,

{3}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;that combination (not comma then comma) appears thrice
)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end of group

.*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the group is followed by all remaining characters

\1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the second RegEx parameter asks that we only keep the group we matched
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i.e. we keep the three NotComma+Comma groups

Because we discard everything after the third comma, the length function gives us the position we want.

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 04:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/570780#M160986</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-07-11T04:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572528#M161565</link>
      <description>&lt;P&gt;Were any of the responses provided suitable as a solution to your problem? If so, please mark that post as the solution so that your post will close out as solved. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 21:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572528#M161565</guid>
      <dc:creator>tsap</dc:creator>
      <dc:date>2019-07-10T21:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572541#M161570</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I actually do like the CALL SCAN and regexen solutions better. But if you wanted to do it in a loop limited to 3 iterations, I can't help but suggest this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_ ;                    
  retain s 'a, b, cd, ef, gdjh' ;
  _s = s ;                       
  do i = 1 to 3 ;                
    pos = findc (_s, ",") ;      
    substr (_s, pos, 1) = "" ;   
  end ;                          
  put pos= ;                     
run ;                            
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Paul D.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 21:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572541#M161570</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-07-10T21:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572560#M161581</link>
      <description>&lt;P&gt;Yet another approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA WORK.HAVE;
   a='a, b, cd, ef, gdj';
   pos=0;
   do i=1 to 3;
   	pos=findw(a,',',pos+1,',','K');
   end;
   drop i;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;findw finds "words"&lt;/P&gt;
&lt;P&gt;The 1st argument is the string to search.&lt;/P&gt;
&lt;P&gt;The 2nd argument defines the "word" to find (a comma).&lt;/P&gt;
&lt;P&gt;The 3rd argument defines the starting position for the search.&amp;nbsp; Needed to loop and find the 3rd comma.&lt;/P&gt;
&lt;P&gt;The 4th argument defines the delimiters that separate words.&amp;nbsp; In this case the delimiter is also the word we're searching for.&lt;/P&gt;
&lt;P&gt;The 5th argument "keeps" the delimiter, i.e. reverses the meaning.&amp;nbsp; A comma is now not treated as a delimiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another approach (similar to hashman's but without the substr):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA WORK.HAVE;
   a='a, b, cd, ef, gdj';
   pos=0;
   do i=1 to 3;
   	pos=findc(a,',',pos+1);
   end;
   drop i;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.:&amp;nbsp; What are you &lt;U&gt;&lt;STRONG&gt;really&lt;/STRONG&gt;&lt;/U&gt; trying to do?&amp;nbsp; I doubt you want the position of the 3rd comma; instead, what do you want to do with that position?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 23:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572560#M161581</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-07-10T23:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572574#M161584</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15043"&gt;@ScottBass&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;Neat! I like your FINDC approach better, but actually both are better than the SUBSTR pseudo-function known to be notoriously slow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 00:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572574#M161584</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-07-11T00:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572590#M161594</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/21262"&gt;@hashman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15043"&gt;@ScottBass&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;Neat! I like your FINDC approach better, but actually both are better than the SUBSTR pseudo-function known to be notoriously slow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yeah, I like the FINDC approach better myself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started with FINDW, mistakenly thought FINDC didn't have the start position parameter, hit the doc, then decided to post both approaches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would be nice is a parameter to "find the Nth occurrence" of [character|word] in FINDC | FINDW.&amp;nbsp; That's where&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;'s solution is cool, but I doubt most folks would come up with that (but then Chris isn't "most folks" &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ).&amp;nbsp; I suspect the OP will have to hit the Perl Regex docs to understand that (really cool) solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 03:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572590#M161594</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-07-11T03:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572598#M161600</link>
      <description>&lt;P&gt;Ha &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15043"&gt;@ScottBass&lt;/a&gt;! Bring on the compliments!&lt;/P&gt;
&lt;P&gt;I just don't tire of them somehow! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I feel like I have to add a few lines to explain the RegEx now.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 03:42:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572598#M161600</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-07-11T03:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572599#M161601</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;: But indeed.That would't hurt a bit.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 03:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572599#M161601</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-07-11T03:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572600#M161602</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/21262"&gt;@hashman&lt;/a&gt;&amp;nbsp;&amp;nbsp;Done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 03:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572600#M161602</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-07-11T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572601#M161603</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15043"&gt;@ScottBass&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;Agree that it would be cool to have a canned function to find the index of the Kth occurrence of a character or word.&lt;/P&gt;
&lt;P&gt;Would be neater, as you suggest, to add an extra argument to an existing function, but if my conversations with Rick L. are any indicator, overloading existing SAS functions is much more problematic than creating new ones (I once tried to coax him into adding a parm to the CATs family to specify a format other than the default for auto-converting numeric arguments, and the above was what he said).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other note, the problem with the regexen is that those who don't get to use them often (or, better still, day in and day out) have to spend an inordinate time with the docs to comprehend what an expression means and does. So, simpletons like myself in cases like the subject of this thread tend to use something simpler and more readily recognizable, even at the expense of performance (as the regexen are really quite fast).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Paul D.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 04:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572601#M161603</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-07-11T04:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572602#M161604</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;: Thanks 1e6!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 04:05:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572602#M161604</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-07-11T04:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572603#M161605</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/21262"&gt;@hashman&lt;/a&gt;&amp;nbsp;&amp;nbsp;My experience is that Regular Expressions are much more expensive than the "normal" string functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And since they are less legible too as you mention, they are not my first choice either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, their power means that sometimes they are the only sensible option, as they can replace tens or even hundreds of lines of code where numerous combinations would have to be tested resulting in un-maintainable spaghetti code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;   * 0.4 seconds;
  A='a, b, cd, ef, gdjh';
  do I=1 to 1e7;
    call scan(A,4,POS,LEN,',');
    POS=POS-1;
  end;
  put POS=;
run;

data _null_;  * 7.5 seconds;
  A='a, b, cd, ef, gdjh';
  do I=1 to 1e7;
    POS=length(prxchange('s/(([^,]*,){3}).*/\1/o',1,A));
  end;
  put POS=;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 04:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572603#M161605</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-07-11T04:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572606#M161608</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;True. The reason I've mentioned the regexen's purported efficiency is that once on SAS-L someone (unfortunately, don't remember who or the circumstances) showed a regex - which I then tested - that worked much faster than the combos of string functions anyone else (including me) had offered. Could be a fluke ... but got seared in my memory nonetheless.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 04:37:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3rd-position/m-p/572606#M161608</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-07-11T04:37:28Z</dc:date>
    </item>
  </channel>
</rss>

