Prev Next

CharNext info  Overview  Group

The CharNext function returns a pointer to the next character in a string.

LPTSTR CharNext(

    LPCTSTR lpsz 

// pointer to current character

   );

Parameters

lpsz
Pointer to a character in a null-terminated string.

Return Values

The return value is a pointer to the next character in the string, or to the terminating null character if at the end of the string.

If lpsz points to the terminating null character, the return value is equal to lpsz.

See Also

CharNextExA, CharPrev