Soenneker.Extensions.Enumerable.String 4.0.1416

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Extensions.Enumerable.String --version 4.0.1416
                    
NuGet\Install-Package Soenneker.Extensions.Enumerable.String -Version 4.0.1416
                    
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="Soenneker.Extensions.Enumerable.String" Version="4.0.1416" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Enumerable.String" Version="4.0.1416" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Extensions.Enumerable.String" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Extensions.Enumerable.String --version 4.0.1416
                    
#r "nuget: Soenneker.Extensions.Enumerable.String, 4.0.1416"
                    
#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.
#:package Soenneker.Extensions.Enumerable.String@4.0.1416
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Extensions.Enumerable.String&version=4.0.1416
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.Enumerable.String&version=4.0.1416
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Extensions.Enumerable.String

A collection of helpful enumerable string extension methods.

Installation

dotnet add package Soenneker.Extensions.Enumerable.String

Quick start

using Soenneker.Extensions.Enumerable.String;

// Given an existing IEnumerable<string>? named enumerable:
var result = enumerable.ContainsAPart(part);

Common operations

  • ContainsAPart() - Returns true if any element contains part using ordinal comparisons.
  • ToCommaSeparatedString() - Joins the values with commas and optionally spaces; null or empty input produces an empty string.
  • ToSeparatedStringFormattable() - Fast-path join for T that implements ISpanFormattable. Avoids boxing that can occur in the unconstrained join overload.
  • ToSeparatedString() - Joins the elements into a single string using separator (optionally followed by a space). Null items match string.Join(string?, IEnumerablestring?) semantics (treated as empty).
  • ToLower() - Lazily projects every string to lowercase; enumeration performs the conversions.
  • ToUpper() - Lazily projects every string to uppercase; enumeration performs the conversions.
  • ToHashSetIgnoreCase() - Materializes a case-insensitive HashSet<string>, so casing-only duplicates collapse.
  • ExceptNullOrEmpty() - Removes null or empty strings from the source.
  • ExceptNullOrWhiteSpace() - Removes null or white space strings from the source.
  • DistinctIgnoreCase() - Returns a lazy sequence with casing-only duplicates removed, preserving the first encountered value.
  • StartsWithIgnoreCase() - Returns true when any string starts with the prefix using a case-insensitive comparison.
  • EndsWithIgnoreCase() - Returns true when any string ends with the suffix using a case-insensitive comparison.

The package also includes one additional operation for more specialized cases.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Soenneker.Extensions.Enumerable.String:

Package Downloads
Soenneker.Extensions.Object

A collection of helpful Object extension methods

Soenneker.Validators.Email.Disposable

Checks whether an email address uses a disposable or temporary domain.

Soenneker.SendGrid.Contacts

Adds, retrieves, searches, and deletes SendGrid Marketing contacts.

Soenneker.HttpClients.LoggingHandler

A handler that allows for injecting into HttpClients to log requests and responses

Soenneker.Extensions.Dtos.Email

A collection of helpful EmailDto extension methods

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1433 0 9/4/2026
4.0.1432 0 9/4/2026
4.0.1431 10,018 8/31/2026
4.0.1430 1,461 8/31/2026
4.0.1429 1,267 8/31/2026
4.0.1428 982 8/31/2026
4.0.1426 969 8/30/2026
4.0.1425 690 8/30/2026
4.0.1423 76 8/30/2026
4.0.1422 5,016 8/30/2026
4.0.1421 1,633 8/30/2026
4.0.1419 76 8/30/2026
4.0.1418 415 8/30/2026
4.0.1416 79 8/29/2026
4.0.1414 1,202 8/29/2026
4.0.1413 80 8/29/2026
4.0.1412 276 8/29/2026
4.0.1411 363 8/29/2026
4.0.1410 24,850 8/26/2026
4.0.1408 1,172 8/25/2026
Loading failed

Update dependency Soenneker.Extensions.String to 4.0.727 (#1889)