method

index

rails latest stable - Class: ActiveSupport::Multibyte::Handlers::UTF8Handler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

index(str, *args)
public

Returns the position of the passed argument in the string, counting in codepoints