GCCHigh.Extensions.String 6.2.800

There is a newer version of this package available.
See the version list below for details.
dotnet add package GCCHigh.Extensions.String --version 6.2.800                
NuGet\Install-Package GCCHigh.Extensions.String -Version 6.2.800                
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="GCCHigh.Extensions.String" Version="6.2.800" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GCCHigh.Extensions.String --version 6.2.800                
#r "nuget: GCCHigh.Extensions.String, 6.2.800"                
#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 GCCHigh.Extensions.String as a Cake Addin
#addin nuget:?package=GCCHigh.Extensions.String&version=6.2.800

// Install GCCHigh.Extensions.String as a Cake Tool
#tool nuget:?package=GCCHigh.Extensions.String&version=6.2.800                

Extensions.String contains methods to make logging to console, file, EventLog, SharePoint list, and database a breeze.

icon GIF GIF License Maintained GitHub Release NuGet Badge Repo Size Closed Issues Open Issues Contributors Languages Gitter Discord Twitter

The following classes have been extended:

- System.String

with these methods:

  • BeginsWith()

    Checks if the current string begins with the given target string.<br> For example:<br> "GCCHigh.Extensions rock!".BeginsWith("GCCHigh")<br> will return<br> true<br> whereas<br> "GCCHigh.Extensions rock!".BeginsWith("gcchigh")<br> will also return<br> true<br> because the ignorecase switch defaults to true. Using the <br> ignorecase switch like this<br> "GCCHigh.Extensions rock!".BeginsWith("gcchigh", false)<br> will return<br> false<br>

  • ContainsAny()

    Checks if the given string contains any of the characters or strings<br> provided in the IEnumerable.<br> This is useful for validating a given set of characters, like<br> special characters, or a given set of string, like bad words, is<br> not present in the target string.<br>

  • ContainsOnly()

    Checks if the given string contains only the characters or strings<br> provided in the IEnumerable.<br> This is useful for validating a string contains only hex chars etc.<br>

  • DoubleQuote()

    Return the given string encased in double quotes. This is useful<br> when working with multi-layer quotes and strings where strings<br> contain quoted strings.<br>

  • EncodeAsXml()

    Encode a given string as XML by encoding all ampersand, single <br> quote, greater than, less than and double quote characters into<br> their proper XML equivalent.<br>

Visitor Count

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on GCCHigh.Extensions.String:

Package Downloads
GCCHigh.Extensions.Identity

GCCHigh.Extensions.Identity contains modern OAuth2 extension methods for C# specifically targeted to the GCCHigh M365 environment. GCCHigh.Extensions supports all versions of.NET from 4.6.2 through 8.0.

GitHub repositories

This package is not used by any popular GitHub repositories.

Rebranded Extensions.String as GCCHigh.Extensions.String.