Mega Code Archive

 
Categories / Ruby / String
 

Gsub lll with ll

"That's alll folks".gsub "lll", "ll" # => "That's all folks"