Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>strgetcar()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    StrGetCar()

         Returns a character from a strint

    Syntax:

         StrGetCar( cString, nPos ) -> nChar

         cString : The string to treat
         nPos    : The string position to act with

    Description:

         Returns the ASCII value of the character in the specified
         position inside the string.
         This function, in conjunction with StrSetCar() may be very
         usefull when a string want to be treated in C style as if they
         were character arrays.

    Return:

         The ASCII character value.

    Example:

         ? StrGetCar ( "Hola mundo", 1 )      //  72
         ? StrGetCar ( "Hola mundo", 0 )      //  Nil
         ? StrGetCar ( "Hola mundo", 5 )      //  32

See Also: StrSetCar()

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