Skip to content

Conversation

@phymod0
Copy link

@phymod0 phymod0 commented Aug 20, 2025

Correct documentation for the case in which the length of str is equal to max

* <p>Turn "Now is the time for all good men" into "Now is the time for..."</p>
* <p>Specifically:</p>
* <p>If str is less than max characters long, return it.
* <p>If str is no greater than max characters long, return it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about "less than or equal to"?

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

Successfully merging this pull request may close these issues.

2 participants