Skip to content

Add $ltrim() and $rtrim() #68

@mechanik-daniel

Description

@mechanik-daniel

Since the general $trim() function performs internal trimming, which can be problematic in some cases, there needs to be a safe way to trim the edges only, without affecting internal whitespace. Exposing explicit left-only and right-only trimming functions should be enough for these cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions