Ruby, remove last N characters from a string? October 1, 2022 by Tarik irb> 'now is the time'[0...-4] => "now is the "