<?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: Using Proper case with names containing hyphens, spaces and ' in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599609#M173111</link>
    <description>&lt;P&gt;Re-reading the question was key as they provided the hint to the solution which you could find easily by reading the documentation.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n169kj2of5nur0n1bl1hubv55q63.htm&amp;amp;docsetVersion=1.0&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n169kj2of5nur0n1bl1hubv55q63.htm&amp;amp;docsetVersion=1.0&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should remind your instructor that getting the right case of names is not that easy.&amp;nbsp; Are you sure that&amp;nbsp;"&lt;SPAN&gt;Linda Y. d'amore" actually uses D'Amore instead of d'Amore ,D'amore or d'amore?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Oct 2019 04:43:04 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-10-27T04:43:04Z</dc:date>
    <item>
      <title>Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599550#M173076</link>
      <description>&lt;P&gt;Using SAS University Edition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i change a name linda Y. d'amora to a proper case name with the last name capital?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what am i doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data Uppercase;&lt;BR /&gt;set work.length;&lt;/P&gt;&lt;P&gt;String= upcase(String);&lt;BR /&gt;Name = propcase(Name);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="results.PNG" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33420i503395F7CBD51685/image-size/small?v=v2&amp;amp;px=200" role="button" title="results.PNG" alt="results.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 18:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599550#M173076</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-26T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599552#M173077</link>
      <description>&lt;P&gt;Please post more examples of what you have and of what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post a test date in the form of (use the running man icon on top):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  infile datalines;
        input name $20.;
datalines;
&amp;lt;string1&amp;gt;
&amp;lt;string2&amp;gt;
...
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 18:22:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599552#M173077</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-10-26T18:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599553#M173078</link>
      <description>&lt;P&gt;Function propcase has some limitations, one of which is not handling apostrophes properly (no pun)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; 71         data _null_;
 72         name = "jean-pierre d'entremont";
 73         pName = propcase(name);
 74         put _all_;
 75         run;
 
 name=jean-pierre d'entremont pName=Jean-Pierre D'entremont _ERROR_=0 _N_=1&lt;/PRE&gt;</description>
      <pubDate>Sat, 26 Oct 2019 18:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599553#M173078</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-10-26T18:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599555#M173079</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33421i85493B4DB4666272/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the program I started with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am supposed to modify the program so that String is in uppercase and Name is in proper case. Using appropriate delimiters so that the name d'amore is spelled D'Amore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 18:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599555#M173079</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-26T18:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599557#M173080</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33422iA6A59301080DC6B6/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the program I started with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am supposed to modify the program so that String is in uppercase and Name is in proper case.. Use appropriate delimiters so the name d'amore is spelled D'Amore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 18:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599557#M173080</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-26T18:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599561#M173084</link>
      <description>&lt;P&gt;Is this some type of homework assignment?&amp;nbsp; What have you attempted? How did it go?&amp;nbsp; How was the result different than you wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also why did you go to the extra effort to take a PICTURE of your code and insert it into your message instead of just copying the TEXT of the code?&amp;nbsp; Not only was that harder for you it marks it impossible for someone to help you by just making minor edits to your code.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 19:14:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599561#M173084</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-26T19:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599564#M173086</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Is this some type of homework assignment?&amp;nbsp; What have you attempted? How did it go?&amp;nbsp; How was the result different than you wanted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also why did you go to the extra effort to take a PICTURE of your code and insert it into your message instead of just copying the TEXT of the code?&amp;nbsp; Not only was that harder for you it marks it impossible for someone to help you by just making minor edits to your code.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Nevermind, I figured it out. Thanks for all your help!&lt;BR /&gt;yes, this is a homework assignment. I need the last name in the D'amore to say D'Amore. I am new to programming and don't know the best way to complete stuff. So this is a work in progress for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data Oscar;&lt;/P&gt;&lt;P&gt;length String $ 10 Name $ 20 Comment $25 Address $ 30 Q1-Q5 $ 1 ;&lt;BR /&gt;infile datalines dsd dlm= " ";&lt;BR /&gt;input String Name Comment Address Q1-Q5;&lt;/P&gt;&lt;P&gt;datalines;&lt;BR /&gt;AbC "jane E. MarPie" "Good Bad Bad Good" "25 River Road" y n N Y Y&lt;BR /&gt;12345 "Ron Cody" "Good Bad Ugly" "123 First Street" N n n n N&lt;BR /&gt;98x "Linda Y. d'amore" "No Comment" "1600 Penn Avenue" Y Y y y y&lt;BR /&gt;. "First Middle Last" . "21B Baker St." . . . Y N&lt;BR /&gt;;&lt;BR /&gt;*(2A)*Using the two length functions, compute the length of 'String' not counting&lt;BR /&gt;trailing blanks and the storage length of 'String'. Call these two variables L1 L2*;&lt;/P&gt;&lt;P&gt;data length;&lt;BR /&gt;set work.oscar;&lt;BR /&gt;L1=lengthn(String) + lengthn(String);&lt;BR /&gt;L2=lengthc(String) + lengthc(String);&lt;BR /&gt;findc(String, '2', '3')&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title 'Lengths of String';&lt;BR /&gt;proc print data=work.length;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*(2B);&lt;BR /&gt;data Uppercase;&lt;BR /&gt;set work.length;&lt;/P&gt;&lt;P&gt;String= upcase(String);&lt;BR /&gt;Name = propcase(Name);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title "Modified Program of Character Cases";&lt;BR /&gt;proc print data=work.uppercase;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;so when I run it like this, it does not change the D'amore to D'Amore. That is what I am trying to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have went back into the first part of the program and tried the&lt;/P&gt;&lt;P&gt;Name = Propcase(Name, " . ' ");&lt;/P&gt;&lt;P&gt;String = upcase(String);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked after I made some corrections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 20:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599564#M173086</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-26T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599604#M173107</link>
      <description>Probably know this but names that have van in the middle that is usually lower case will not be correct. &lt;BR /&gt;&lt;BR /&gt;Ie Johannes van der Waals</description>
      <pubDate>Sun, 27 Oct 2019 03:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599604#M173107</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-27T03:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599609#M173111</link>
      <description>&lt;P&gt;Re-reading the question was key as they provided the hint to the solution which you could find easily by reading the documentation.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n169kj2of5nur0n1bl1hubv55q63.htm&amp;amp;docsetVersion=1.0&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n169kj2of5nur0n1bl1hubv55q63.htm&amp;amp;docsetVersion=1.0&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should remind your instructor that getting the right case of names is not that easy.&amp;nbsp; Are you sure that&amp;nbsp;"&lt;SPAN&gt;Linda Y. d'amore" actually uses D'Amore instead of d'Amore ,D'amore or d'amore?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2019 04:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599609#M173111</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-27T04:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599611#M173112</link>
      <description>The answer was definitely not in my book for the class. This is supposed to be a beginner class. Far from it in my opinion.&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Oct 2019 06:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599611#M173112</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-27T06:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599659#M173134</link>
      <description>Use of functions such as SCAN() and PROPCASE()/UPCASE() are beginner level topics.</description>
      <pubDate>Sun, 27 Oct 2019 17:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599659#M173134</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-27T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599720#M173173</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280148"&gt;@slater1&lt;/a&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Decompose the name using ' as a delimiter&lt;/LI&gt;
&lt;LI&gt;Propcase each decomposed chunk&lt;/LI&gt;
&lt;LI&gt;Put the chunks back together delimited by '&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Such as:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have ;                                                                                                                             
  input @1 Name $char32. ;                                                                                                              
  cards ;                                                                                                                               
jane E. MarPie                                                                                                                          
Jane e. marpie                                                                                                                          
Ron coDy                                                                                                                                
ron Cody                                                                                                                                
linda Y. d'amore of'love                                                                                                                
Linda y. D'amore                                                                                                                        
Linda y. d'Amore                                                                                                                        
Linda y. De'Amore                                                                                                                       
Linda y. dE'Amore                                                                                                                       
FirSt miDDle last                                                                                                                       
f'firSt m'Middle lA'last                                                                                                                
;                                                                                                                                       
run ;                                                                                                                                   
                                                                                                                                        
data want (drop = _:) ;                                                                                                                 
  set have (rename=name=_nm) ;                                                                                                
  name = _nm ; *set syslength;                                                                                                                          
  name = "" ;                                                                                                                           
  do _i = 1 to countw (_nm, "'") ;                                                                                            
    name = catx ("'", name, propcase (scan (_nm, _i, "'"))) ;                                                                           
  end ;                                                                                                                                 
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>Mon, 28 Oct 2019 05:04:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599720#M173173</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2019-10-28T05:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599799#M173209</link>
      <description>&lt;P&gt;Really, so I must be newer than a beginner. It is hard for me to remember all these functions.&lt;/P&gt;&lt;P&gt;Thanks for your help or response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 14:07:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599799#M173209</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-28T14:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599802#M173212</link>
      <description>&lt;P&gt;Thanks Paul,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to the SAS documentation for functions and found it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went back into the first part of the program and tried the&lt;BR /&gt;Name = Propcase(Name, " . ' ");&lt;BR /&gt;String = upcase(String);&lt;BR /&gt;&lt;BR /&gt;it worked after I made some corrections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was going to copy all the code but I am at work and its on my computer at home.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Robin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 14:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599802#M173212</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-28T14:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599805#M173213</link>
      <description>&lt;P&gt;I found this on SAS documentation on functions and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went back into the first part of the program and tried the&lt;BR /&gt;Name = Propcase(Name, " . ' ");&lt;BR /&gt;String = upcase(String);&lt;BR /&gt;it worked after I made some corrections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 14:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599805#M173213</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-28T14:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599806#M173214</link>
      <description>&lt;P&gt;I found this on the SAS documentation on functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went back into the first part of the program and tried the&lt;BR /&gt;Name = Propcase(Name, " . ' ");&lt;BR /&gt;String = upcase(String);&lt;BR /&gt;&lt;BR /&gt;it worked after I made some corrections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 14:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599806#M173214</guid>
      <dc:creator>slater1</dc:creator>
      <dc:date>2019-10-28T14:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proper case with names containing hyphens, spaces and '</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599870#M173255</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280148"&gt;@slater1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Really, so I must be newer than a beginner. It is hard for me to remember all these functions.&lt;/P&gt;
&lt;P&gt;Thanks for your help or response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes&lt;/P&gt;
&lt;P&gt;Robin&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No one remembers them ever, I look up the definitions every day, especially because i program in multiple languages and want to ensure that I'm remembering it correctly for the language I'm using that day.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bookmark this page and when you need to do something, ie find a specific character that means use a character function. Then you click on character functions and see which one does what you want. If you're working with dates and want to know how to get the day of the month you would go to the Date &amp;amp; Time functions. Learning how to find things is more important.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=allprodsle&amp;amp;docsetTarget=syntaxByCategory-function.htm&amp;amp;locale=en#"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=allprodsle&amp;amp;docsetTarget=syntaxByCategory-function.htm&amp;amp;locale=en#&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: for example, I didn't know that PROPCASE takes a delimiter, but now I do, based on the code you used an a quick review of&amp;nbsp; the documentation on that function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 17:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proper-case-with-names-containing-hyphens-spaces-and/m-p/599870#M173255</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-28T17:14:44Z</dc:date>
    </item>
  </channel>
</rss>

