Skip to content

Implement method CppStringT::find() #16

Description

@schmouk

"str.find(sub[, start[, end]])

Return the lowest index in the string where substring sub is found within the slice s[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 if sub is not found.

Note

The [find()](https://docs.python.org/3/library/stdtypes.html#str.find) method should be used only if you need to know the position of sub. To check if sub is a substring or not, use the [method `contains()`]"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions