String-Extension
2.1.0
See the version list below for details.
dotnet add package String-Extension --version 2.1.0
NuGet\Install-Package String-Extension -Version 2.1.0
<PackageReference Include="String-Extension" Version="2.1.0" />
<PackageVersion Include="String-Extension" Version="2.1.0" />
<PackageReference Include="String-Extension" />
paket add String-Extension --version 2.1.0
#r "nuget: String-Extension, 2.1.0"
#:package String-Extension@2.1.0
#addin nuget:?package=String-Extension&version=2.1.0
#tool nuget:?package=String-Extension&version=2.1.0
StringExtension 
A string processing library for the C# programming language. It provides features to manipulate and transform strings in a simple and efficient way. The library is open-source and provided with unit tests and performance tests. It is designed to be easily integrated into your existing projects. Feel free to contribute to the project with ideas or development expertise.
Features
Breaking change in v2.0.0: methods are now split across namespaces by category. You'll need to add the relevant
usingstatements below instead of a singleusing StringExtension;.
using StringExtension;
- RemoveCharacters - removes the specified characters from a string
- CountSubstring - counts the number of occurrences of a string in the specified string
- ReverseWords - reverses the order of words in the specified string
- RemoveDuplicateCharacters - remove duplicate characters from a given string
using StringExtension.Validation;
- IsValidEmail - validate an e-mail address
- IsValidPhoneNumber - validate a phone number
using StringExtension.Linguistics;
- IsPalindrome - determines if a given string is a palindrome
- CountLetters - counts the number of letters in a given string
using StringExtension.Casing;
- ToCamelCase - converts a given string to camel case
All methods that classify or compare characters (IsPalindrome, CountLetters, ToCamelCase) operate on whole Unicode scalar values (via Rune), so characters outside the Basic Multilingual Plane (such as many emoji) are handled correctly.
Installation
Install StringExtension using the following NuGet command
nuget install String-Extension
Running Tests
Licence
Distributed under the MIT License. See LICENCE for more information.
Contributing
You can contribute to the project in several ways: by proposing new ideas, reporting bugs you encounter, or improving existing code. If you would like to submit a change, you can open a Pull Request so that we can review your changes and incorporate them into the project if necessary. We welcome your participation and look forward to moving this string library project forward.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.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.