virtual P6R::P6ERR P6R::p6ISafeString::trimEnd ( P6R::P6CHAR *  pszStr,
P6R::P6SIZE  cchMax 
) [pure virtual]

Trim trailing space, tab, carraige return and newline characters from the specified NULL terminated string.

Parameters:
pszStr [in] A pointer to the NULL terminated string to trim.
cchMax [in] The maximum possible length of the string in character.
Returns:
SuccessP6R::eOk 
FailureP6R::eInvalidArgpszStr is NULL or ccMax is zero
P6R::eTooBigcchMax characters was reached in the search for the end of the string.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.