Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String indexing #461

Open
annevk opened this issue Jun 8, 2022 · 0 comments
Open

String indexing #461

annevk opened this issue Jun 8, 2022 · 0 comments

Comments

@annevk
Copy link
Member

annevk commented Jun 8, 2022

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.

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

No branches or pull requests

1 participant