On Tue, Oct 03, 2006 at 04:55:44AM +0900, S?bastien Maurette wrote:
> Hello,
> 
> I want to replace a string in a file who is delimited by 2 other string.
> My problem is to find the start and the end string delimiter and replace 
> the content between both.
> 
Learn about regular expressions, and then look into the gsub method of
String. You can get a very brief intro to regular expressions here:
http://ruby-doc.org/docs/ProgrammingRuby/html/language.html#UJ