-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
Description
Hi guys,
really enjoying your library. I was wondering if it was possible to add a feature where you can truncate at a specific character. Our use-case is a location delimited by slashes like so: Canada/Quebec/Montreal.
We would like to be able to truncate to the closest slash that won't cut off the next word. In our case it would be a left truncation, but either way would be great.
I'm sure there are other use cases where one would want this on spaces or commas specifically so that no word gets cut off halfway.
Let me know if you need more info.
Thanks
Reactions are currently unavailable