StrTrim


Trim specified leading and trailing characters from the string.

LPSTR WINAPI
StrTrim( 
	LPCSTR    lpszSrc,
	LPCSTR    lpszTargets )
	

Parameters

lpszSrc[in]

Pointer to the source string.

lpszTargets[in]

Specifies a pointer to a string containing the target characters to be trimmed.

Return Value

This function returns the string trimmed. You should use LocalFree function to free the return value if it is no longer needed.