Equivalence of critical and subcritical sharp Trudinger-Moser inequalities in fractional dimensions and extremal functions