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.
198
+
/** Returns the lowest index in the string where substring sub is found within the slice str[start:start+count-1], or -1 (i.e. 'npos') if sub is not found.
200
199
*
201
-
* Note: this method should be used only if you need to know the position
202
-
* of sub. To check if sub is a substring or not, use the method contains_n().
200
+
* Note: this method should be used only if you need to know the position of
201
+
* sub. To check if sub is a substring or not, use the method contains_n().
203
202
*
204
203
* \see find(), rfind() and rfind_n().
205
204
* \see index(), index_n(), rindex() and rindex_n().
/** Returns the highest 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.
397
+
*
398
+
* Note: this method should be used only if you need to know the position
399
+
* of sub. To check if sub is a substring or not, use the method contains_n().
400
+
*
401
+
* \see find(), find_n() and rfind().
402
+
* \see index(), index_n(), rindex() and rindex_n().
0 commit comments