Function PosRange() Foundation

Retrieves the position of the first character out of a range found in a string.

Syntax
PosRange( <cRangeStartCharacter>  , ;
          <cRangeEndCharacter>    , ;
          <cString>               , ;
          [<lNotInRange>]         , ;  // Default: .F.
          [<nIgnoreCharsFromLeft>]  ;  // Default: 0
        ) --> nPosition
Return

Returns the position of the first character from a range of characters found in a string.

Description

If parameter <lNotInRange> is set .T. (true) the function searches the first character in <cString> which is outside the specified range of characters.

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.