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

Syntax:     POSALPHA(<expC>[,<expL>]

Arguments:  <expC> is the string to be searched.
            <expL> denotes how the function should search.

Returns:    A numeric value.
            The value corresponds to the position of the character found.

Usage:      POSALPHA() searches the <expC> string, and if <expL> is
            (.F.) then it will return the first character that would be
            converted by one of the Clipper functions LOWER() or
            UPPER().  The function will search the first character that is
            not a letter if <expL> is (.T.).

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   string = "UKLM123"

            ? POSALPHA(string)                  && Result: 1

            ? POSALPHA(string,.T.)              && Result: 5



See Also: POSLOWER() POSRANGE() POSUPPER()

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