Mount Fuji Engine  0.8b
MF_API size_t MFString_URLEncode ( char *  pDest,
const char *  pString,
const char *  pExcludeChars = NULL 
)

Encodes a string for use in a URL or HTTP 'POST' content.

Parameters
pDestOutput buffer, may be NULL.
pStringString to encode.
pExcludeCharsA string containing characters to be excluded from URL encoding.
Returns
Return the length of the output string, excluding the terminating NULL.
Remarks
If pDest is NULL, the output length will be calculated but no output will be written.