<?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: extract words in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692531#M24917</link>
    <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data cows;
   set work.r_mam;

   length all $ 200 sna 8;

   all = catx(' ', of sp_1-sp_5);

   sna = prxmatch('/staphylococcus (?!aureus)/i', all) and not prxmatch('/staphylococcus aureus/i', all);

   drop all;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Oct 2020 13:36:13 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2020-10-19T13:36:13Z</dc:date>
    <item>
      <title>extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692503#M24904</link>
      <description>&lt;P&gt;Hi, I'm working with bacteria names and here is what I would like to do. Each animal may have up to 5 types of bacteria. I want to count all the staphylococci that are not aureus. My first step would surely be to separate the genus and species in two variables... but I'm not sure how.... Or is it possible to simply calculate all the sample that have "staphylococcus" as first word and NOT "aureus as the second word?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data are sensitive but I,m gonna create a little example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end, I want to create a binary variable, if one of the 5 species of the cow&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data r_mam;
input cow SP_1$ SP_2$ SP_3$ SP_4$ SP_5$;
cards;
1 Streptoccous dysgalactiae Klebsiella pneumoniae Staphylococcus chromogenes
2 Staphylococcus aureus Staphylococcus xylosus Escherichia coli
3 Streptococcus uberis
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;was a non-aureus Staphylococci, the variable is 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!!!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692503#M24904</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692507#M24906</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/307594"&gt;@Annie_Fréchette&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I'm working with bacteria names and here is what I would like to do. Each animal may have up to 5 types of bacteria. I want to count all the staphylococci that are not aureus. My first step would surely be to separate the genus and species in two variables... but I'm not sure how....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data r_mam;
	infile cards truncover;
	input cow SP_1 :$16. SP_2 :$16. SP_3 :$16. SP_4 :$16. SP_5 :$16.;
	cards;
1 Streptoccous dysgalactiae Klebsiella pneumoniae Staphylococcus chromogenes
2 Staphylococcus aureus Staphylococcus xylosus Escherichia coli
3 Streptococcus uberis
;
run;
data want;
	set r_mam;
	array a sp_1 sp_3 sp_5;
	array b sp_2 sp_4 sp_6;
	do i=1 to dim(a);
		if not missing(a(i)) then genus=a(i);
		if not missing(b(i)) then species=b(i);
		if not missing(a(i)) then output;
	end;
	drop sp_: i;
run; 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692507#M24906</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-19T13:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692508#M24907</link>
      <description>&lt;P&gt;The provided data-step does not work as expected: text is truncated ...&lt;/P&gt;
&lt;P&gt;Is this as close as possible to what you have:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data r_mam;
   length
      cow 8
      SP_1-SP_5 $ 40
   ;
   infile datalines4 delimiter=';' missover;
   input cow SP_1 SP_2 SP_3 SP_4 SP_5;
   datalines4;
1;Streptoccous dysgalactiae;Klebsiella pneumoniae;Staphylococcus chromogenes
2;Staphylococcus aureus;Staphylococcus xylosus;Escherichia coli
3;Streptococcus uberis
;;;;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692508#M24907</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-10-19T13:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692509#M24908</link>
      <description>&lt;P&gt;yes this is correct!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:14:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692509#M24908</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692513#M24910</link>
      <description>&lt;P&gt;Hi Paige, thank but it is not doing the right thing... each variable SP_&amp;nbsp; contain these infos (genus specie)&lt;/P&gt;&lt;P&gt;I would like to have on one line Genus_1 &amp;nbsp; &amp;nbsp; specie_1&amp;nbsp;&amp;nbsp;&amp;nbsp; Genus_2 specie_2 etc....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692513#M24910</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692517#M24912</link>
      <description>The original data example just had spaces in the raw data lines. In the above example, each pair is separated by semi-colons. This tiny piece of information will impact how the data needs to be read. Can you explain how your data actually looks? Like your first example or like shown in &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt; example (with semi-colons)?&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 19 Oct 2020 13:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692517#M24912</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-10-19T13:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692520#M24914</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/307594"&gt;@Annie_Fréchette&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;yes this is correct!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can use scan to look at each word or regular expressions.&lt;/P&gt;
&lt;P&gt;What do you expect as result? The cows with staphylococcus, but not aureus? Or just the count?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692520#M24914</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-10-19T13:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692521#M24915</link>
      <description>&lt;P&gt;Hi! I just wanted to give you an example of what I'm dealing with. My data are from an access file and between the Genus and species ther is a space (in SP_1, SP_2 etc)...&amp;nbsp; Not sure how to explain better ... sorry!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:30:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692521#M24915</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692524#M24916</link>
      <description>&lt;P&gt;What I want in the end is : if one of the Sp_1/SP_2/ etc was Staphylococci genus but Not an aureus species, SNA(a new binary variable)=1&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692524#M24916</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T13:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692531#M24917</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data cows;
   set work.r_mam;

   length all $ 200 sna 8;

   all = catx(' ', of sp_1-sp_5);

   sna = prxmatch('/staphylococcus (?!aureus)/i', all) and not prxmatch('/staphylococcus aureus/i', all);

   drop all;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692531#M24917</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-10-19T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692564#M24918</link>
      <description>&lt;P&gt;Thank you very much! Can I ask you one more question? I don't see in the code how Sas know to attribute "1" for the SNA? Where it is write?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692564#M24918</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T13:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692566#M24919</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What if a cow has THIS row of data with 2 types of Staphylococcus values, one aureus and one not:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;2 &lt;FONT color="#FF0000"&gt;Staphylococcus aureus&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;Staphylococcus xylosus&lt;/FONT&gt; Escherichia coli&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then what would your binary variable look like? SNA=1 ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What about this?&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;9 &lt;FONT color="#FF0000"&gt;Staphylococcus aureus&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;Staphylococcus xylosus&lt;/FONT&gt; &lt;FONT color="#FF00FF"&gt;Staphylococcus chromogenes&lt;/FONT&gt; Escherichia coli&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would SNA=1 or would SNA=2?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&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>Mon, 19 Oct 2020 13:58:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692566#M24919</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-10-19T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692572#M24922</link>
      <description>&lt;P&gt;Good point!&lt;/P&gt;&lt;P&gt;In your first line SNA=1, and I have another binary variable S.aureus=1&lt;/P&gt;&lt;P&gt;In your second line SNA also=1, it's a binary variable, not a sum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Annie&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 14:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692572#M24922</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T14:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: extract words - how about this?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692576#M24923</link>
      <description>&lt;P&gt;How about something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data r_mam;
   length cow flag 8 ;
   array sp_[5] $ 40;
   infile datalines4 delimiter=';' missover;
   input cow SP_1 SP_2 SP_3 SP_4 SP_5;
   do i= 1 to dim(SP_);
      SP_[i]=lowcase(SP_[i]);
      flag=max(flag,(find(SP_[i],'staphylococcus') and not find(SP_[i],'aureus')));
      put sp_[i]= flag=;
   end;
   drop i;
datalines4;
1;Streptoccous dysgalactiae;Klebsiella pneumoniae;Staphylococcus chromogenes
2;Staphylococcus aureus;Staphylococcus xylosus;Escherichia coli
3;Streptococcus uberis;Staphylococcus aureus
;;;;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The result looks like this:&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Print: Data Set WORK.R_MAM" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;Obs&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;cow&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;flag&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;sp_1&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;sp_2&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;sp_3&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;sp_4&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;sp_5&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;1&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="l data"&gt;streptoccous dysgalactiae&lt;/TD&gt;
&lt;TD class="l data"&gt;klebsiella pneumoniae&lt;/TD&gt;
&lt;TD class="l data"&gt;staphylococcus chromogenes&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;2&lt;/TH&gt;
&lt;TD class="r data"&gt;2&lt;/TD&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="l data"&gt;staphylococcus aureus&lt;/TD&gt;
&lt;TD class="l data"&gt;staphylococcus xylosus&lt;/TD&gt;
&lt;TD class="l data"&gt;escherichia coli&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;3&lt;/TH&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;TD class="r data"&gt;0&lt;/TD&gt;
&lt;TD class="l data"&gt;streptococcus uberis&lt;/TD&gt;
&lt;TD class="l data"&gt;staphylococcus aureus&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="l data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Oct 2020 14:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692576#M24923</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2020-10-19T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692577#M24924</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt; !&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;raised up a good point... that is problematic at this moment with the code.... If a cow have a Staphylocooccus aureus AND a Staphylococcus xylosus I would lik my SNA=1.. presently this is not the case...&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 14:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692577#M24924</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: extract words - how about this?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692584#M24926</link>
      <description>&lt;P&gt;Thanks! This has resolved my exceptions!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 14:55:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692584#M24926</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-19T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692736#M24939</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/307594"&gt;@Annie_Fréchette&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;raised up a good point... that is problematic at this moment with the code.... If a cow have a Staphylocooccus aureus AND a Staphylococcus xylosus I would lik my SNA=1.. presently this is not the case...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Of course not, because you have defined the flag-variable differently. But you still want sna = 0, if you find Staph. aureus and, e.g. Staph. epidermis (don't know if that is possible)&amp;nbsp; are found? Please be precise! Maybe defining sna=0 is easier, if in understood all your posts, you want sna = 0 if&lt;/P&gt;
&lt;P&gt;a) the only Staphylococcus found is aureus, or&lt;/P&gt;
&lt;P&gt;b) no Staph. is found at all.&lt;/P&gt;
&lt;P&gt;Right?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 04:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692736#M24939</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-10-20T04:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: extract words</title>
      <link>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692973#M24952</link>
      <description>&lt;P&gt;Hi Andreas! Sorry if my toughts were not clear about I wanted. I used the code from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13728"&gt;@SASJedi&lt;/a&gt; and it worked as I needed!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks agains for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Annie&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 17:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/extract-words/m-p/692973#M24952</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-10-20T17:49:25Z</dc:date>
    </item>
  </channel>
</rss>

