I have often used and created nuget packages in many companies and never had the desire or time to create/manage my own nuget package that could help other fellow developers.
So i decide to create the TextCase library for .NET, it helps changing the cases of existing texts.
Nuget TextCase library for .NET
There are the cases currently available:
- UpperCase
- LowerCase
- TitleCase
- CapitaliseCase
- CapitaliseWordsCase
- ReverseCase
- AlternateCase
- CamelCase
- PascalCase
- KebabCase
- SnackCase
- HashtagCase
These are some examples how to use the library:
1
2
3
4
5 // YOU TALKING TO ME?
TextCase.Convert("You talking to me?", Case.UpperCase);
// you talking to me?
TextCase.Convert("You talking to me?", Case.LowerCase);
How to get TextCase from Nuget ?
1
PM› Install-Package TextCase
Do you want to help me to improve this projet? Please feel free 👍 to send in a Pull Request, or drop me an email.
If you think your friends/network would find this useful, please share it with them. I’d really appreciate it.
Thanks for reading!
Leave a Reply