Newteq.Extensions.String
2.0.2
dotnet add package Newteq.Extensions.String --version 2.0.2
NuGet\Install-Package Newteq.Extensions.String -Version 2.0.2
<PackageReference Include="Newteq.Extensions.String" Version="2.0.2" />
paket add Newteq.Extensions.String --version 2.0.2
#r "nuget: Newteq.Extensions.String, 2.0.2"
// 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
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
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 | 609 | 7/16/2019 |
First release
Has a bunch of useful string extensions