| Subject | 
		Re: proper() | 
	 
	
		| From | 
		
Akshat Kapoor <akshat.kapoor@kapoorsons.in>		 | 
	 
	
		| Date | 
		Sat, 12 Apr 2025 18:24:00 +0530 | 
	 
	
		| Newsgroups | 
		dbase.getting-started | 
	 
	 Good Evening Charlie, 
 
> Trying to use proper() on dbase and instead of the first word only being upper case I get this: 
>  
> x = "I live in a condo." 
> proper(x) 
> I Live In A Condo. 
>  
> Happens using 2019 and 11. 
>  
> Is this the way it is supposed to work?  Is there a function like proper for entryfields? 
 
Copying and pasting from help file 
 
PROPER( ) returns <expC> with the first character in each word  
capitalized and the remaining letters set to lowercase. PROPER( )  
changes the first character of a word only if it is a lowercase  
alphabetic character 
 
Please note the wording "each word". Hence I would say it is WAD. 
 
If you want output to be "I live in a condo" then in that case use  
breakstring() (it is there in duflp) to break the phrase into sentences  
and then convert the first to upper case followed by rejoining all. 
 
Regards 
Akshat 
  |   
		 |