formatHolderName

Format a card holder name to only uppercase letters

Some examples of the formatting: "John Doe", will return "JOHN DOE" "john DoE Jr.", will return "JOHN DOE JR." "JOHN 3 DOE 9", will return "JOHN DOE"

Return

String with the correct format for the card holder name

Parameters

name

that represents the card holder name to be formatted