* @brief Stores the result of a formatted string into another string. Format * arguments are given in a va_list instance. * * @param pString Destination string. * @param length Length of Destination string. * @param pFormat Format string. * @param ap Argument list. * * @return The number of characters written. */