Re: String#starts_with?

String#index should be the fastest

thanks. any suggestions for #ends_with?

If the above is correct, String#rindex.

Best regards,
Axel

On 7/9/06, [email protected] [email protected] wrote:

String#index should be the fastest

thanks. any suggestions for #ends_with?

If the above is correct, String#rindex.

doh - completely forgot about rindex.

martin