π¦ SimpleStringUtils
SimpleStringUtils is a lightweight C# utility library providing common string operations such as ToTitleCase, Reverse, and IsPalindrome.
π§ Created by CITECHS
β¨ Features
π Convert strings to Title Case
π Reverse any string
π Check if a string is a Palindrome
π Getting Started
π₯ Install via NuGet
You can install the package using the .NET CLI:
dotnet add package SimpleStringUtils
Or use the NuGet Package Manager in Visual Studio.
**π» Usage **
using SimpleStringUtils;
class Program
{
static void Main()
{
Console.WriteLine(StringHelper.ToTitleCase("hello world")); // Hello World
Console.WriteLine(StringHelper.Reverse("ChatGPT")); // TPGtahC
Console.WriteLine(StringHelper.IsPalindrome("Racecar")); // True
}
}
π API Reference
StringHelper.ToTitleCase(string input)
Converts the input string to title case using current culture rules.
StringHelper.Reverse(string input)
Returns the reversed version of the input string.
StringHelper.IsPalindrome(string input)
Checks if the string is a palindrome (ignores spaces and case).
π§ͺ Compatibility .NET Standard 2.0 compatible β works with:
.NET Framework 4.6.1+
.NET Core 2.0+
.NET 5, 6, 7, 8+
Xamarin, Unity, and others
π License
This package is licensed under the MIT License.
π€ Author: Uzoigwe Onyekachukwu
π CITECHS π GitHub Repository (https://github.com/chriswax/SimpleStringUtils)