You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Returns the lowest index in the string where substring sub is found within the slice str[start:start+length-1], or -1 (i.e. 'npos') if sub is not found.
186
+
*
187
+
* Note: this method should be used only if you need to know the position
188
+
* of sub. To check if sub is a substring or not, use the method contains_n().
0 commit comments