Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about using str.trimEnd() #4

Closed
jimmywarting opened this issue Feb 20, 2023 · 0 comments
Closed

How about using str.trimEnd() #4

jimmywarting opened this issue Feb 20, 2023 · 0 comments

Comments

@jimmywarting
Copy link

Normally, you would use stdout.trim(), but that would also remove newlines at the start and whitespace.

i would either recommend that ppl switch to using trimEnd or that you refrace this line to something in lines of:

Normally, you would use stdout.trimEnd(), but that would also remove all trailing newlines and whitespaces at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant