Forum: Ruby Re: String search backwards?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gennady B. (Guest)
on 2006-01-24 22:10
(Received via mailing list)
n = orig_str.rindex(sub_str)

Does it help?
Toby DiPasquale (Guest)
on 2006-01-24 22:15
Gennady B. wrote:
> n = orig_str.rindex(sub_str)

Thanks. Obviously I have a reading deficiency.
This topic is locked and can not be replied to.