Difference between revisions of "UCFIRST()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{YLM to do}}
 
 
==Class==
 
 
 
 
 
==Purpose==
 
==Purpose==
 
+
Function to convert words to lower case with the first character in upper case
  
  
 
==Syntax==
 
==Syntax==
 
+
UCFIRST(<expC>)
  
  
 
==See Also==
 
==See Also==
 
+
[[ISUPPER()]], [[ISLOWER()]], [[LEN()]], [[LOWER()]], [[PROPER()]], [[STREXTRACT()]], [[STRTOLOWER()]], [[STRTOUPPER()]], [[SUBSTR()]], [[TRIM()]], [[UPPER()]]
  
  
 
==Description==
 
==Description==
 
+
The UCFIRST() function converts the first character of the specified <expC> to upper case and the remaining characters of the word to lower case.
  
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 
+
? ucfirst("this is THE title")
 +
This Is The Title
 
</code>
 
</code>
  
==Products==
 
  
 +
==Products==
 +
Recital Server, Recital
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:String Data]]
 +
[[Category:String Data Functions]]

Latest revision as of 16:54, 28 October 2009

Purpose

Function to convert words to lower case with the first character in upper case


Syntax

UCFIRST(<expC>)


See Also

ISUPPER(), ISLOWER(), LEN(), LOWER(), PROPER(), STREXTRACT(), STRTOLOWER(), STRTOUPPER(), SUBSTR(), TRIM(), UPPER()


Description

The UCFIRST() function converts the first character of the specified <expC> to upper case and the remaining characters of the word to lower case.


Example

? ucfirst("this is THE title")
This Is The Title


Products

Recital Server, Recital