From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2007-10-12T08:40:03+09:00 Subject: Re: How to delete specific characters from a string? Bazsl wrote: > Is there really no method that allows me to delete N characters starting > at position P from a string? I have looked (carefully I hope) through > the String methods and did not see a way to do this. Thanks. with String#slice ??? may be : str.slice!(fixnum, fixnum) => new_str or nil string = "this is a string" p string.slice!( 12, 4 ) # => "ring" p string.slice!( 5, 2 ) # => "is" -- Une B�vue