gsub method that performs a global substitution (like a search and replace) upon the string
"this is a test".gsub(/t/, 'X')