perche il tuo "r" è una stringa.. per usare i char devi usare gli apici singoli.. 'r'
Regole del Forum