Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_cap1st()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_CAP1ST()


Syntax:        L_CAP1ST(<expC>)


Purpose:       Convert first letter of each word in <expC> to upper
               case


Arguments:     <expC> to have first letter of each word converted to
               upper case


Returns:       <expC> with first letter of each word in upper case


Usage:         Useful for making database field entries consistent.


Examples:      str1 = "The quick Brown fox"
               ans = L_CAP1ST(str1)
               ? ans              && Result: The Quick Brown Fox

               str1 = "this is an example string"
               ans = L_CAP1ST(str1)
               ? ans              && Result: This Is An Example String


Language:      C

See Also: L_PROPER()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson