StringHelper.Extension 1.0.6

.Net Helper Extension for strings

Install-Package StringHelper.Extension -Version 1.0.6
dotnet add package StringHelper.Extension --version 1.0.6
<PackageReference Include="StringHelper.Extension" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StringHelper.Extension --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

What is StringHelper

The string helper was born to help me keep a library of useful extensions to strings. I am constantly writing methods across different projects that i again replicate when i move on to the next one so i thought i should create a library.

Current Functionality

Wrap

The wrap method takes a string and wraps into an ienumerable of strings each string is wraped to a certain length and will always go back the the last space to ensure that all words are maintined where possible.

Repeat

Repeats a specified string for a specified amount of times.

Random String

Allows you to create a random string with certain formats at a given length.

Trim

Set of extension methods for strings which relate to triming content

TrimStartToDifference

Retrieves a string of text with the common text removed from the start until the first difference.

TrimEndToDifference

Retrieves a string of text with the common text removed from the end until the first difference.

TrimToDifference

Retrieves a string of text with the common text removed from the start and end. Both side stopping on the first difference.

SubString

Set of extension methods for strings which relate to sub stringing content

SubStringStartToDifference

Retrieves a string of the common text of two strings from start to end until the first difference.

SubStringEndToDifference

Retrieves a string of the common text of two strings from end to begin until the first difference.

Count

Set of extension methods for strings which relate to counting content

CountStartToDifference

Determines the common length of two strings from start to end until the first difference.

CountEndToDifference

Determines the common length of two strings from end to begin until the first difference.

Contribute

Come conribute would love to hear you ideas Contribute

Issues

Got an issue here are my guidelines for reporting it.

License

This work is licensed under a MIT License

Code of Conduct

This repository contains the Open Source Code of Conduct

What is StringHelper

The string helper was born to help me keep a library of useful extensions to strings. I am constantly writing methods across different projects that i again replicate when i move on to the next one so i thought i should create a library.

Current Functionality

Wrap

The wrap method takes a string and wraps into an ienumerable of strings each string is wraped to a certain length and will always go back the the last space to ensure that all words are maintined where possible.

Repeat

Repeats a specified string for a specified amount of times.

Random String

Allows you to create a random string with certain formats at a given length.

Trim

Set of extension methods for strings which relate to triming content

TrimStartToDifference

Retrieves a string of text with the common text removed from the start until the first difference.

TrimEndToDifference

Retrieves a string of text with the common text removed from the end until the first difference.

TrimToDifference

Retrieves a string of text with the common text removed from the start and end. Both side stopping on the first difference.

SubString

Set of extension methods for strings which relate to sub stringing content

SubStringStartToDifference

Retrieves a string of the common text of two strings from start to end until the first difference.

SubStringEndToDifference

Retrieves a string of the common text of two strings from end to begin until the first difference.

Count

Set of extension methods for strings which relate to counting content

CountStartToDifference

Determines the common length of two strings from start to end until the first difference.

CountEndToDifference

Determines the common length of two strings from end to begin until the first difference.

Contribute

Come conribute would love to hear you ideas Contribute

Issues

Got an issue here are my guidelines for reporting it.

License

This work is licensed under a MIT License

Code of Conduct

This repository contains the Open Source Code of Conduct

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on StringHelper.Extension:

Package Downloads
Sys.ConsoleX
ConsoleX is a project looking to extend the standard System.Console to make it easier use when building consoleApps and tools using System.Console

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.6 138 2/5/2020
1.0.5 104 1/13/2020
1.0.4 94 1/10/2020
1.0.3 125 1/10/2020
1.0.2 115 11/13/2019
1.0.1 98 10/30/2019
1.0.0 162 10/30/2019