Skip to content

chriswax/SimpleStringUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ 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)

About

Simple string utilities like ToTitleCase, Reverse, and IsPalindrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages