TsadriuUtilities.String
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TsadriuUtilities.String --version 1.0.0
NuGet\Install-Package TsadriuUtilities.String -Version 1.0.0
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.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TsadriuUtilities.String --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TsadriuUtilities.String, 1.0.0"
#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.0.0 // Install TsadriuUtilities.String as a Cake Tool #tool nuget:?package=TsadriuUtilities.String&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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:
- 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.
- 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.
- TextCount(string value, string valueToCount):
- Counts the number of occurrences of a specified valueToCount within the value string.
- SplitBy(string value, StringSplitByEnum splitByEnum, bool keepSeparator, string? separator):
- Splits the specified value string based on the specified splitByEnum.
Product | Versions 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.
Initial release.