Fixed the string function to secure a credit card number.