Mega Code Archive
Categories
/
Ruby
/
Development
Looking for a word
line = "A horse! a horse! my kingdom for a horse!" line[/horse!$/] # => "horse!"