From: Chris Morris Date: 2000-12-13T09:18:17+09:00 Subject: [ruby-talk:7117] Re: Rubyize this method > Why not: > > def lopOff(s, substr) > s =~ substr > return $' > end > > Although why you need a separate function, I'm not sure. Thanks! If it's that simple, I don't need a separate function. It made sense when it was awkward and long. Chris