Thindal.Strings
1.0.1
See the version list below for details.
dotnet add package Thindal.Strings --version 1.0.1
NuGet\Install-Package Thindal.Strings -Version 1.0.1
<PackageReference Include="Thindal.Strings" Version="1.0.1" />
paket add Thindal.Strings --version 1.0.1
#r "nuget: Thindal.Strings, 1.0.1"
// Install Thindal.Strings as a Cake Addin #addin nuget:?package=Thindal.Strings&version=1.0.1 // Install Thindal.Strings as a Cake Tool #tool nuget:?package=Thindal.Strings&version=1.0.1
Thindal.Strings
Thindal.Strings is a project that provides various string manipulation utilities and extensions.
Features
- String SubstringOrShorter
- String Until
Installation
To use Thindal.Strings in your project, download and compile the source code or get the latest release from Nuget.
Usage
Since Thindal.Strings are in the System
namespace, you don't need to add any using directive beyond using System;
to use them.
String SubstringOrShorter
SubstringOrShorter is a combination of String.IndexOf and String.Substring that returns a substring from the start of the string to the requested length, or the full string if the string is shorter. Usage is the same as Substring but with the suffix OrShorter on the method name.
String Until
Until is a method that returns a substring from the start of the string to the first occurrence of a specified character. Usage is the same as IndexOf, but instead it returns a string up until the specified character.
Contributing
Contributions to Thindal.Strings are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository. Pull requests are also appreciated.
License
Thindal.Strings is released under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.