String#index should be the fastest
thanks. any suggestions for #ends_with?
If the above is correct, String#rindex.
Best regards,
Axel
String#index should be the fastest
thanks. any suggestions for #ends_with?
If the above is correct, String#rindex.
Best regards,
Axel
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs