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>strsetcar()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    StrSetCar()

         Modifies a character in a string

    Syntax:

         StrSetCar( cString, nPos, nChar ) -> cNewString

         cString : The string to treat
         nPos    : The string position to act with
         nChar   : The new character of the given position

    Description:

         Modifies a string specified position and returns the new 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 modified string.

    Example:

         ? StrSetCar ( "Hola mundo", 1, 32 )   //  " ola mundo"
         ? StrSetCar ( "Hola mundo", 0, 35 )   //  "Hola mundo"
         ? StrSetCar ( "Hola mundo", 7, 85 )   //  "Hola mUndo"

See Also: StrGetCar()

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