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_midupper()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_MIDUPPER()



Syntax:        L_MIDUPPER(<expC>[,<expN1>[,<expN2>]])


Purpose:       To convert a portion of a string from lower case
               alphabetic characters to upper case.


Arguments:     <expC> is the source character string. If this is the
               only argument passed, the entire string will be
               converted.

               <expN1> is the starting position in the source string
               to begin converting. If the starting position is
               positive, it is relative to the left most character in
               the string. If the starting position is negative, the
               starting position is relative to the right most
               character in the string.

               <expN2> is the number of the characters to convert. If
               this argument is omitted, the substring to be converted
               begins at the starting position and continues to the
               end of the string. If it is larger than the number of
               characters from the starting position to the end of the
               source string the extra is ignored.


Returns:       A character string.


Usage:         L_MIDUPPER() is useful when you want to change the case
               of only a portion of a string, for instance when
               comparing portions of strings, or for display purposes.


Examples:      ? L_MIDUPPER("Fred is the boss",9,3)  && Result: Fred is THE boss

               ? L_MIDUPPER("Fred is the boss",9)  && Result: Fred is THE BOSS

               ? L_MIDUPPER("Fred is the boss")    && Result: FRED IS THE BOSS


Language:      Clipper

See Also: L_MIDLOWER()

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