Mega Code Archive

 
Categories / Ruby / String
 

Tr method from string

'LOWERCASE ALL VOWELS'.tr('AEIOU', 'aeiou')