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.