<?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: Handling multi-character word delimiters ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174619#M33553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant.&amp;nbsp;&amp;nbsp; I wasn't aware of the infile statement's &lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;dlmstr&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;= option. (it's been a long time since I've used INFILE.)&amp;nbsp; The way you use a temporary fileref and reset the _infile_ variable is vey clever.&amp;nbsp; Thanks for your help, and thanks to the other folks who took time to provide suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 21:22:58 GMT</pubDate>
    <dc:creator>bentleyj1</dc:creator>
    <dc:date>2014-05-27T21:22:58Z</dc:date>
    <item>
      <title>Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174611#M33545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a string containing multiple words.&amp;nbsp; Each word needs to go into a macro variable.&amp;nbsp; I'm sure I'm missing something, but how do I handle a word delimiters that consists of multiple characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the string I have to work with.&amp;nbsp; Is there a way to use the scan function to pull out the words without first doing a whole lot of substringing to replace "_" with a single character like a comma?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CELL_TRGT_SEGMENT_CD"_"CELL_STATUS_CD "_"CELL_CREATIVE_CD"_"CELL_RPT_CD"_"CELL_FULFILL_GRP_CD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 17:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174611#M33545</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2014-05-27T17:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174612#M33546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scan can take multiple delimiters. You can also look at the modifiers section to add another delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use single quote to include the quotation marks and _ in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scan(word, i, '"_')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I think I misunderstood your question. You only have 4 words separated by "_" each time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so I guess I'd go old school and use findw and substr.&lt;/P&gt;&lt;P&gt;Or PRX functions which I've successfully managed to avoid &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 17:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174612#M33546</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-27T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174613#M33547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you have data that uses _ as both text and as part of a multi-character delimiter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Reeza, I have avoided PRX functions and they may be a candidate.&amp;nbsp; But here is some DATA step code that could be used.&amp;nbsp; The 4 quote marks are a single quote, a double quote, and a single quote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;length word $ 32;&lt;/P&gt;&lt;P&gt;i=0;&lt;/P&gt;&lt;P&gt;do until (word=' ');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i + 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; word = scan(string, i, '"');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if word not in (' ', '_') then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mv_counter + 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symputx ('mv' || left(put(mv_counter,3.)), word);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 17:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174613#M33547</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-05-27T17:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174614#M33548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me more like you have delimiters in quoted sub-strings of string.&amp;nbsp; I think Q option on SCAN function will suffice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; string="CELL_TRGT_SEGMENT_CD"_"CELL_STATUS_CD "_"CELL_CREATIVE_CD"_"CELL_RPT_CD"_"CELL_FULFILL_GRP_CD";&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;_null_&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; string=symget(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'string'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; word $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;64&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; i = &lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;by&lt;/SPAN&gt; &lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;until&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(missing(word));&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; word = scan(string,i,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'_'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'Q'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; word=;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;end&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;stop&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;BR /&gt;word=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"CELL_TRGT_SEGMENT_CD"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;word=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"CELL_STATUS_CD "&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;word=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"CELL_CREATIVE_CD"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;word=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"CELL_RPT_CD"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;word=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"CELL_FULFILL_GRP_CD"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;word= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 18:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174614#M33548</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-05-27T18:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174615#M33549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice approach.&amp;nbsp; However, I think the problem starts out a little differently, using delimeters of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"_"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original string doesn't start or end with a quote.&amp;nbsp; But that can be rectified in your program by adding the double quotes around strip(string).&amp;nbsp; Might be necessary to remove quotes from WORD at the end, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 18:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174615#M33549</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-05-27T18:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174616#M33550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realized I've changed the input slightly but I think that can all be accommodated as you have outlined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 19:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174616#M33550</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-05-27T19:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174617#M33551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another alternative that does not change the input uses INFILE magic and the DLMSTR infile statement option.&amp;nbsp; I do not see where/if the SCAN function has similar option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; string=CELL_TRGT_SEGMENT_CD"_"CELL_STATUS_CD "_"CELL_CREATIVE_CD"_"CELL_RPT_CD"_"CELL_FULFILL_GRP_CD;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;filename&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; FT15F001 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;temp&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;infile&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; FT15F001 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;dlmstr&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'"_"'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;missover&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; @;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; _infile_ = symget(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'string'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; word $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;64&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; i = &lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;by&lt;/SPAN&gt; &lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;until&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(missing(word));&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; word:&lt;/SPAN&gt;&lt;SPAN style="color: #008080; background-color: #ffffff;"&gt;$64.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; @;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; word=;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;end&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;stop&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;parmcards&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;Necessary&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; evil&lt;BR /&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;BR /&gt;word=CELL_TRGT_SEGMENT_CD&lt;BR /&gt;word=CELL_STATUS_CD&lt;BR /&gt;word=CELL_CREATIVE_CD&lt;BR /&gt;word=CELL_RPT_CD&lt;BR /&gt;word=CELL_FULFILL_GRP_CD&lt;BR /&gt;word= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 20:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174617#M33551</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-05-27T20:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174618#M33552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When multiple delimiters are passed to the scan function it uses any one of them as the delimiter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 21:15:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174618#M33552</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2014-05-27T21:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174619#M33553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant.&amp;nbsp;&amp;nbsp; I wasn't aware of the infile statement's &lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;dlmstr&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;= option. (it's been a long time since I've used INFILE.)&amp;nbsp; The way you use a temporary fileref and reset the _infile_ variable is vey clever.&amp;nbsp; Thanks for your help, and thanks to the other folks who took time to provide suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 21:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174619#M33553</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2014-05-27T21:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Handling multi-character word delimiters ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174620#M33554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search for INFILE MAGIC at lexjansen.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi28/086-28.pdf" title="http://www2.sas.com/proceedings/sugi28/086-28.pdf"&gt;http://www2.sas.com/proceedings/sugi28/086-28.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 21:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-multi-character-word-delimiters/m-p/174620#M33554</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-05-27T21:48:04Z</dc:date>
    </item>
  </channel>
</rss>

