Newteq.Extensions.String 2.0.2

Install-Package Newteq.Extensions.String -Version 2.0.2
dotnet add package Newteq.Extensions.String --version 2.0.2
<PackageReference Include="Newteq.Extensions.String" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Newteq.Extensions.String --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Newteq.Extensions.String, 2.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Newteq.Extensions.String as a Cake Addin
#addin nuget:?package=Newteq.Extensions.String&version=2.0.2

// Install Newteq.Extensions.String as a Cake Tool
#tool nuget:?package=Newteq.Extensions.String&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Basic Information

This package provides some extremely useful C# extensions on top of the base type string. These extensions can easily be used off of any string in C#. The bulk of these extensions are simply syntactic sugar to allow for easier reading of code

Usage

Below is an example of the usage of one of the methods

using Newteq.Extensions.String;
using System;

namespace Newteq.Extensions.Usage.ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            var helloWorld = "hello world with all the first letter's capitalized";
            Console.WriteLine(helloWorld.IsNullOrEmpty());
        }
    }
}

Available Methods

All the methods are striaght forward, but if you need more information, simply see the summary from the method. These have all been documented.

  • BytesFromBase64
  • ConvertToBaseEnum
  • ConvertToTypedEnum
  • GetBytes
  • IsCompletelyEmpty
  • IsNullOrEmpty
  • IsNullOrWhiteSpace
  • Reverse
  • StringFromBase64
  • ToBase64
  • ToCamelCase
  • ToTitle
  • NaturalJoin

This package has 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.

Version Downloads Last updated
2.0.2 334 7/16/2019

First release
Has a bunch of useful string extensions