
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>firstcap()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FIRSTCAP()
FIRSTCAP() is great for converting entirely upper- or lower-case
character strings to a mixture of both. The syntax is:
FIRSTCAP(<string>)
Required Parameter
<string> is the character expression to be processed.
Return Value
FIRSTCAP() returns a character string wherein all words begin with
upper-case letters and the rest are lower-case. For example, the
string "the grumpfish library" or "THE GRUMPFISH LIBRARY" would both
be returned as "The Grumpfish Library".
Sample usage
address = '123 main street'
address2 = FIRSTCAP(address)
? address2 && will display "123 Main Street"
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson