"Guy N. Hurst" <gnhurst / hurstlinks.com> writes: > I was trying to find the equivalent to substr() in ruby, > and came across String#slice, which seemed to have that > and much more. I forgot to reference this in my previous post. There are also examples at http://www.rubycentral.com/ref/ref_c_string.html#slice And a fuller description at http://www.rubycentral.com/ref/ref_c_string.html#_ob_cb Regards Dave