Formats a card number for display. The card number may be a full or masked format. Displays as "•••• ####", where the "####" is the last-four digits of the card number. Each digit may be represented by a "?" when it is unknown.
When null
, null
is returned.
When an empty string, after trimming, an empty string is returned.
Example
${aoweb:getCardNumberDisplay(cardNumber)}
Function Information
Function Class: | com.aoindustries.web.struts.aowebtags.Functions |
---|---|
Function Signature: | java.lang.String getCardNumberDisplay(java.lang.String) |
Display Name: | None |