Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ottorinobruni authored May 24, 2024
1 parent 26fc773 commit 4623218
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ Available Conversions
- Base64EncodeCase: Encodes text to Base64.
- Base64DecodeCase: Decodes Base64 text.

It's possible to count in the text:
Text Analysis Examples:
- number of characters
- number of words
- number of letters
- number of sentences
- number of paragraphs

## Usage:
## Usage Examples:

```cscharp
// YOU TALKING TO ME?
Expand Down Expand Up @@ -110,7 +111,10 @@ TextCase.Convert("You talking to me?", Case.Base64EncodeCase);
// Decode Base64 text
TextCase.Convert("WW91IHRhbGtpbmcgdG8gbWU/", Case.Base64DecodeCase);
"WW91IHRhbGtpbmcgdG8gbWU?".ToBase64DecodeCase();
```
Text Analysis Functions

```cscharp
// Text Count
TextCase.GetTextCount("You talking to me?");
"You talking to me?".GetTextCount();
Expand All @@ -127,6 +131,10 @@ TextCase.GetLettersCount("You talking to me?");
TextCase.GetSentencesCount("You talking to me?");
"You talking to me?".GetSentencesCount();
// Paragraphs Count
TextCase.GetParagraphsCount("You talking to me?");
"You talking to me?".GetParagraphsCount();
```

## Get it on NuGet:
Expand Down

0 comments on commit 4623218

Please sign in to comment.