Skip to content

str is missing join, upper and lower attributes #232

Closed

Description

@dankox

Builtin string type doesn't support join, upper and lower functions/attributes.

# fails with missing attribute
",".join(list) 
"hello world".upper()
"HELLo".lower()
  • str.join
  • str.upper
  • str.lower

Activity

  1. sbinet commented on Feb 12, 2024

    @sbinet
    Member

    based on the changes from #188 it should be relatively easy to implement upper and lower (assuming the strings.ToUpper and strings.ToLower stdlib functions achieve what str.upper and str.lower are expected to do).

    do you want to give it a try ?

  2. added a commit that references this issue on Feb 26, 2024
  3. linrl3 commented on May 1, 2025

    @linrl3

    Is the issue still open? I am trying to make a toy compiler and learning some projects. I want to give a try.

  4. added a commit that references this issue on Jun 27, 2025
    a0c0529
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions