-
Notifications
You must be signed in to change notification settings - Fork 966
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
Humanizer can/should support truncating a string to a certain length whilst adding ellipsis #80
Comments
This is something I've been meaning to do for a very long time and would definitely appreciate a PR for it. A bit unsure about the API; but that's very easy to discuss and change if needed over the PR. |
Hey @janv8000, Was just wondering if you've had a chance to make a progress on this. I am quite interested in this feature. |
ErikSchierboom
added a commit
to ErikSchierboom/Humanizer
that referenced
this issue
Mar 27, 2014
ErikSchierboom
added a commit
to ErikSchierboom/Humanizer
that referenced
this issue
Mar 28, 2014
ErikSchierboom
added a commit
to ErikSchierboom/Humanizer
that referenced
this issue
Mar 28, 2014
MehdiK
added a commit
that referenced
this issue
Mar 28, 2014
Added truncate methods. Implements #80
Implemented in #113 |
This is now released to NuGet as v1.15.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do you guys/gals think about the following:
Possible variations include trimming to the last word
Trimming to the last word but respecting the length as absolute maximum
See also https://github.com/HubSpot/humanize#truncate
If it's desirable I might start hacking on a PR this week...
The text was updated successfully, but these errors were encountered: