StringExtensionPack 1.0.0
See the version list below for details.
dotnet add package StringExtensionPack --version 1.0.0
NuGet\Install-Package StringExtensionPack -Version 1.0.0
<PackageReference Include="StringExtensionPack" Version="1.0.0" />
<PackageVersion Include="StringExtensionPack" Version="1.0.0" />
<PackageReference Include="StringExtensionPack" />
paket add StringExtensionPack --version 1.0.0
#r "nuget: StringExtensionPack, 1.0.0"
#:package StringExtensionPack@1.0.0
#addin nuget:?package=StringExtensionPack&version=1.0.0
#tool nuget:?package=StringExtensionPack&version=1.0.0
StringExtensionPack
StringExtensionPack is a lightweight, easy-to-use C# library that provides powerful extension methods for common string operations. Perfect for any .NET developer who wants to write cleaner, more expressive, and reusable code when working with strings.
Developed with ❤️ by Herbert
✨ Features
🔠 Convert strings to Title Case
📧 Validate if a string is a valid email
✂️ Remove special characters from a string
🔄 Check if a string is a Palindrome
🔡 Capitalize the first character of a string
📦 Installation
You can install StringExtensionPack via NuGet:
dotnet add package StringExtensionPack
Or search for "StringExtensionPack" in the NuGet Package Manager in Visual Studio.
🚀 Usage
First, import the namespace:
using StringExtensionPack;
Now you can directly use the extension methods on any string:
string title = "hello world".ToTitleCase(); // "Hello World"
bool isValid = "example@email.com".IsEmail(); // true
string cleaned = "Hello@World#2025!".RemoveSpecialCharacters(); // "HelloWorld2025"
bool palindrome = "A man a plan a canal Panama".IsPalindrome(); // true
string capitalized = "hello".FirstCharToUpper(); // "Hello"
🛠 Available Methods
ToTitleCase() - Converts a string to Title Case (each word capitalized).
IsEmail() - Checks if the string matches a valid email format.
RemoveSpecialCharacters() - Removes all special characters, leaving only letters, numbers, underscores, and spaces.
IsPalindrome() - Checks if the string reads the same forward and backward (ignoring case and non-alphanumeric characters).
FirstCharToUpper() - Capitalizes only the first character of the string.
📝 License
This project is licensed under the MIT License — feel free to use it in your projects!
📣 Feedback & Contributions
If you find a bug, have a feature request, or want to contribute, feel free to open an issue or submit a pull request. Your support is appreciated! 🌟
#️⃣ TL;DR:
StringExtensionPack = Handy string methods like .ToTitleCase(), .IsEmail(), .RemoveSpecialCharacters(), .IsPalindrome(), and .FirstCharToUpper() packed into a simple NuGet package you can drop into any project.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.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.