Skip to content

[FEATURE] trim string / trim line #1986

@DenuxPlays

Description

@DenuxPlays

New feature motivation

Currently while pasting in Gitlab CI/CD variables I came across an whitespace error.

New feature description

Call str.trim() on the whole input and on each line to trim whitespaces at the end and the start of the input or the line.

New feature implementation

For whole input: input.trim()
And for each line split the input into lines and call .trim() on each line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions