Skip to content

String indexing #461

Open
Open

Description

@annevk

At a minimum we should clearly state that strings are 0-based and that you can index into them to obtain individual code points or code units.

This should also make the work in #110 more grounded as well as several existing Infra algorithms that operate on strings.

whatwg/html#7991 has some ideas for potentially doing more in terms of syntax, but it's not clear if that ends up paying for itself. Mainly mentioning that for completeness-sake.

Activity

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

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