String-Extension 1.5.1

dotnet add package String-Extension --version 1.5.1
NuGet\Install-Package String-Extension -Version 1.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="String-Extension" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add String-Extension --version 1.5.1
#r "nuget: String-Extension, 1.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install String-Extension as a Cake Addin
#addin nuget:?package=String-Extension&version=1.5.1

// Install String-Extension as a Cake Tool
#tool nuget:?package=String-Extension&version=1.5.1

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

  • RemoveCharacters - removes the specified characters from a string
  • IsValidEmail - validate an e-mail address
  • IsValidPhoneNumber - validate a phone number
  • CountSubstring - counts the number of occurrences of a string in the specified string
  • ReverseWords - reverses the order of words in the specified string
  • IsPalindrome - determines if a given string is a palindrome
  • CountLetters - counts the number of letters in a given string.
  • RemoveDuplicateCharacters - remove duplicate characters from a given string.
  • ConvertToCamelCase - converts a given string to camel case.

Installation

Install StringExtension using the following NuGet command

  nuget install StringExtension

Running Tests

  • The unit tests are here
  • The performance tests are here

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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.1 149 4/14/2023