TextCase 1.0.3

The TextCase library for .NET helps changing the cases of existing texts.

Install-Package TextCase -Version 1.0.3
dotnet add package TextCase --version 1.0.3
<PackageReference Include="TextCase" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TextCase --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TextCase, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TextCase as a Cake Addin
#addin nuget:?package=TextCase&version=1.0.3

// Install TextCase as a Cake Tool
#tool nuget:?package=TextCase&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

TextCase

The TextCase library for .NET helps changing the cases of existing texts.

There are the cases currently available:

  • UpperCase
  • LowerCase
  • TitleCase
  • CapitaliseCase
  • CapitaliseWordsCase
  • ReverseCase
  • AlternateCase
  • CamelCase
  • PascalCase
  • KebabCase
  • SnackCase
  • HashtagCase

It's possible to count in the text:

  • number of characters
  • number of words
  • number of letters
  • number of sentences

.NET

Usage:

// YOU TALKING TO ME?
TextCase.Convert("You talking to me?", Case.UpperCase);

// you talking to me?
TextCase.Convert("You talking to me?", Case.LowerCase);

// You Talking To Me?
TextCase.Convert("You talking to me?", Case.TitleCase);

// You talking to me?
TextCase.Convert("You talking to me?", Case.CapitaliseCase);   

// You Talking To Me?
TextCase.Convert("You talking to me?", Case.CapitaliseWordsCase); 

// ?em ot gniklat uoY
TextCase.Convert("You talking to me?", Case.ReverseCase);         

// YoU TaLkInG To mE?
TextCase.Convert("You talking to me?", Case.AlternateCase);       

// youTalkingToMe?
TextCase.Convert("You talking to me?", Case.CamelCase);           

// YouTalkingToMe?
TextCase.Convert("You talking to me?", Case.PascalCase);          

// you-talking-to-me?
TextCase.Convert("You talking to me?", Case.KebabCase);           

// you_talking_to_me?
TextCase.Convert("You talking to me?", Case.SnackCase);           

// #You #talking #to #me?
TextCase.Convert("You talking to me?", Case.HashtagCase);   

// Text, Words, Letters and Sentences Count
TextCase.GetTextCount("You talking to me?");  
TextCase.GetWordsCount("You talking to me?");  
TextCase.GetLettersCount("You talking to me?");  
TextCase.GetSentencesCount("You talking to me?");  

Get it on NuGet:

PM> Install-Package TextCase

Feedback and Contribution

Please feel free to send in a Pull Request, or drop me an email. Cheers!

TextCase

The TextCase library for .NET helps changing the cases of existing texts.

There are the cases currently available:

  • UpperCase
  • LowerCase
  • TitleCase
  • CapitaliseCase
  • CapitaliseWordsCase
  • ReverseCase
  • AlternateCase
  • CamelCase
  • PascalCase
  • KebabCase
  • SnackCase
  • HashtagCase

It's possible to count in the text:

  • number of characters
  • number of words
  • number of letters
  • number of sentences

.NET

Usage:

// YOU TALKING TO ME?
TextCase.Convert("You talking to me?", Case.UpperCase);

// you talking to me?
TextCase.Convert("You talking to me?", Case.LowerCase);

// You Talking To Me?
TextCase.Convert("You talking to me?", Case.TitleCase);

// You talking to me?
TextCase.Convert("You talking to me?", Case.CapitaliseCase);   

// You Talking To Me?
TextCase.Convert("You talking to me?", Case.CapitaliseWordsCase); 

// ?em ot gniklat uoY
TextCase.Convert("You talking to me?", Case.ReverseCase);         

// YoU TaLkInG To mE?
TextCase.Convert("You talking to me?", Case.AlternateCase);       

// youTalkingToMe?
TextCase.Convert("You talking to me?", Case.CamelCase);           

// YouTalkingToMe?
TextCase.Convert("You talking to me?", Case.PascalCase);          

// you-talking-to-me?
TextCase.Convert("You talking to me?", Case.KebabCase);           

// you_talking_to_me?
TextCase.Convert("You talking to me?", Case.SnackCase);           

// #You #talking #to #me?
TextCase.Convert("You talking to me?", Case.HashtagCase);   

// Text, Words, Letters and Sentences Count
TextCase.GetTextCount("You talking to me?");  
TextCase.GetWordsCount("You talking to me?");  
TextCase.GetLettersCount("You talking to me?");  
TextCase.GetSentencesCount("You talking to me?");  

Get it on NuGet:

PM> Install-Package TextCase

Feedback and Contribution

Please feel free to send in a Pull Request, or drop me an email. Cheers!

  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.3 61 4/10/2021
1.0.2 53 4/2/2021
1.0.1 32 4/2/2021
1.0.0 43 4/1/2021