Skip to content

Implement method CppStringT::find() #16

Closed

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

  1. self-assigned this
    on Mar 7, 2023
  2. moved this to Todo in cpp-stringson Mar 7, 2023
  3. moved this from Todo to In Progress in cpp-stringson Mar 9, 2023
  4. moved this from In Progress to Done in cpp-stringson Mar 10, 2023
  5. schmouk commented on Mar 10, 2023

    @schmouk
    OwnerAuthor

    Completed.

  6. added a commit that references this issue on Mar 10, 2023
  7. added a commit that references this issue on Mar 19, 2023
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