Skip to content

[Edit] Lua: string.len() #6943

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

scaryhacker420
Copy link

Description

Clarified that .len() returns the number of bytes in a string, not characters.

Issue Solved

Type of Change

  • Editing an existing entry (fixing a typo, bug, issues, etc)

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

clarified that .len() returns the number of bytes in a string, not characters
@scaryhacker420 scaryhacker420 changed the title [Edit] Lua string.len() [Edit] Lua: string.len() May 30, 2025
@Sriparno08 Sriparno08 self-assigned this Jun 30, 2025
@Sriparno08 Sriparno08 added enhancement New feature or request status: under review Issue or PR is currently being reviewed lua Lua entries labels Jun 30, 2025
Copy link
Collaborator

@Sriparno08 Sriparno08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for a second review, @scaryhacker420!

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

Successfully merging this pull request may close these issues.

2 participants