<?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: upcase of countries in email in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933272#M367058</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set dsn;
    first=cats(scan(email,1,'@!%'));
    delim=substr(email,length(first)+1,1);
    second=upcase(scan(email,2,'@!%'));
    email=cats(first,delim,second);
    drop first delim second;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask ... why? What is the benefit of converting parts of email addresses to capital letters? There is no requirement that e-mails addresses be capitalized.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 12:38:00 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2024-06-21T12:38:00Z</dc:date>
    <item>
      <title>upcase of countries in email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933266#M367056</link>
      <description>&lt;P&gt;data dsn;&lt;BR /&gt;input email $20.;&lt;BR /&gt;datalines;&lt;BR /&gt;Abc@123Ind&lt;BR /&gt;cd!345Aus&lt;BR /&gt;thr%34344Us&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output Like below&lt;/P&gt;
&lt;P&gt;Abc@123IND&lt;BR /&gt;cd!345AUS&lt;BR /&gt;thr%34344US&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 12:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933266#M367056</guid>
      <dc:creator>pavank</dc:creator>
      <dc:date>2024-06-21T12:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: upcase of countries in email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933272#M367058</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set dsn;
    first=cats(scan(email,1,'@!%'));
    delim=substr(email,length(first)+1,1);
    second=upcase(scan(email,2,'@!%'));
    email=cats(first,delim,second);
    drop first delim second;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask ... why? What is the benefit of converting parts of email addresses to capital letters? There is no requirement that e-mails addresses be capitalized.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 12:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933272#M367058</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-06-21T12:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: upcase of countries in email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933280#M367063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; I&amp;nbsp; do agree with you&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interview panel asked these type of questions&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 13:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933280#M367063</guid>
      <dc:creator>pavank</dc:creator>
      <dc:date>2024-06-21T13:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: upcase of countries in email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933281#M367064</link>
      <description>&lt;P&gt;Ok, thanks. Pointless question, asking someone how to do work that doesn't need to be done.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 13:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933281#M367064</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-06-21T13:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: upcase of countries in email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933401#M367088</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dsn;
input email $20.;
datalines;
Abc@123Ind
cd!345Aus
thr%34344Us
;
run;

data want;
 set dsn;
 want=prxchange('s/([a-z]+$)/\U\1/',1,strip(email));
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Jun 2024 06:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/upcase-of-countries-in-email/m-p/933401#M367088</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-06-22T06:24:58Z</dc:date>
    </item>
  </channel>
</rss>

