if (strlen(str) > amount) {
    // truncate str at amount characters
    str[amount] = '\0';  
    return (strlen(str) - amount); 
} 
return 0; 
if length of the string is greater than the amount given, then truncate the string to be of length amount and return the number of chars removed