formatCardEndingWith

Format a card number based on the visible ending part

Return

String with the correct format for the masked card number

Parameters

ending

visible part of the card number to be formatted