Function PosUpper() Foundation

Retrieves the position of the first upper case letter in a string.

Syntax
PosUpper( <cString>               , ;
          [<lNoLetter>]           , ;  // Default: .F.
          [<nIgnoreCharsFromLeft>]  ;  // Default: 0
        ) --> nPosition
Return

Returns the position of the first upper case letter in a string as a numeric value.

Description

An upper case letter is defined a character that would be changed by the function Lower(). If <lNoLetter> is set .T. (true) the function returns the position of the first character which is not changed by function Lower().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.