Difference between revisions of "UCFIRST()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Class== | ==Class== | ||
− | + | String Data | |
==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== | ||
+ | Recital Server, Recital | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:String Data]] | ||
+ | [[Category:String Data Functions]] |
Revision as of 16:18, 14 October 2009
Class
String Data
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