Function PosAlpha() Foundation

Retrieves the position of the first letter in a string.

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

Returns the position of the first letter in a string.

Description

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

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.