Skip to content

Proposal: string().truncate() #833

@thelinuxlich

Description

@thelinuxlich

(I'm not using the issue template because I'm not reporting a bug)

Since we already have .trim(), .uppercase() and .lowercase() modifying the original strings, a .truncate(length) method would be very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions