TsadriuUtilities.String 1.1.6

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

// Install TsadriuUtilities.String as a Cake Tool
#tool nuget:?package=TsadriuUtilities.String&version=1.1.6                

TsadriuUtilities.String

A small package that helps on manipulating and managing string types.

TsadriuUtilities.String is a small library that helps on manipulating and managing string types.

> Features <

StringHelper:

  • ContainsAll(string text, StringComparison comparison, param string[] values) + 1 overload:
    • Checks whether a string contains all specified values, using the specified string comparison.
  • ContainsAny(string text, StringComparison comparison, param string[] values) + 1 overload:
    • Checks whether a string contains any of the specified values, using the specified string comparison.
  • GetBetween(string text, string start, string end, StringComparison comparison, bool startEndIncluded) + 1 overload:
    • Retrieves the substring between two specified strings within the given text, using the specified string comparison rules.
  • GetBetweenReverse(string text, string start, string end, StringComparison comparison, bool startEndIncluded) + 1 overload:
    • Searches through the text, using the start as the start tag and then searches the text backwards until the end tag is found or until it reaches the end of the text.
  • GetManyBetween(string text, string start, string end, StringComparison comparison, bool startEndIncluded) + 1 overload:
    • Retrieves multiple substrings from the specified text that are located between the specified start and end strings.
  • GetLowercaseLetters(string text):
    • Retrieves all the lowercase letters from the input string.
  • GetUppercaseLetters(string text):
    • Retrieves all the uppercase letters from the input string.
  • IsEmpty(string value):
    • Determines whether the specified string is empty, null or consists only of white-space characters.
  • IsNotEmpty(string value):
    • Determines whether the specified string is not empty, not null and contains at least one non-white-space character.
  • RemoveMany(string value, params string[] valuesToRemove):
    • Replaces multiple occurrences of strings specified in valuesToRemove with string.Empty in the value string.
  • SplitBy(string value, StringSplitByEnum splitByEnum, bool keepSeparator, string? separator):
    • Splits the specified value string based on the specified splitByEnum.
  • TextCount(string value, string valueToCount):
    • Counts the number of occurrences of a specified valueToCount within the value string.
  • ToLower(string value, int index = -1) + 2 overload:
    • Returns a copy of this string converted to lowercase. If an index is provided, only the character at that position will be converted to be lowercase.
  • ToUpper(string value, int index = -1) + 2 overload:
    • Returns a copy of this string converted to uppercase. If an index is provided, only the character at that position will be converted to be uppercase.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TsadriuUtilities.String:

Package Downloads
TsadriuUtilities.Csv

TsadriuUtilities.Csv is a library that helps on dealing with **CSV** files, to make it easier and save a little bit of time.

TsadriuUtilities.Excel

A small package that helps on parsing Excel (XLSX) files.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 147 9/21/2023
1.1.7 236 9/13/2023
1.1.6 225 8/3/2023
1.1.5 502 6/16/2023
1.1.4 505 6/15/2023
1.1.3 139 6/15/2023
1.1.2 137 6/15/2023
1.1.1 139 6/15/2023
1.1.0 138 6/14/2023
1.0.0 132 6/14/2023

Implemented methos GetUpperLetters, GetLowerLetters, ToUpper and ToLower.