Popular Snippets Tagged extension
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
C#
TruncateOnWordBoundary - a useful extension method for cutting a string short, but not in the middle of a word.
1
1342
posted 13 years ago by stewartrae