Feature request: Add trim function

In our workflow, we use an action that reads comments in pull requests and parses it. Sometimes the comments may contain redundant newlines and spaces, which causes us difficulties in parsing the string input.

Please add a trim function that eliminates leading and trailing whitespaces from a string.

The currently supported functions are:

Thanks.

1 Like

@yahavi,

Thanks for your feedback.
GitHub takes your suggestions very seriously, and the suggestions are very helpful for improving GitHub.

I recommend that you can directly share your feature requests here. That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.