Skip to content

string.find() syntax question #9

@YxoAndruxa

Description

@YxoAndruxa

I have a question about the string.find() method in Part 3.2

Image

In the course material, the syntax is explained as:
.find(value)

But according to the official documentation, the full syntax is:
.find(value, start, end)

Why does the course only show .find(value) and not .find(value, start, end)?
Is it because start and end are optional parameters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions