Oakrey.Strings 1.0.0

dotnet add package Oakrey.Strings --version 1.0.0
                    
NuGet\Install-Package Oakrey.Strings -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="Oakrey.Strings" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Oakrey.Strings" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Oakrey.Strings" />
                    
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 Oakrey.Strings --version 1.0.0
                    
#r "nuget: Oakrey.Strings, 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.
#addin nuget:?package=Oakrey.Strings&version=1.0.0
                    
Install Oakrey.Strings as a Cake Addin
#tool nuget:?package=Oakrey.Strings&version=1.0.0
                    
Install Oakrey.Strings as a Cake Tool

Oakrey.Strings

Overview

The "Strings" project provides a comprehensive framework for parsing, converting, and manipulating strings in .NET applications. It focuses on handling various numeral systems, binary and hexadecimal conversions, and string extensions for advanced operations.

Features

Parsers:

  • Supports parsing of numeric types (byte, sbyte, int, uint, long, ulong, short, ushort) from binary, decimal, and hexadecimal formats.
  • Includes NumericParser for generic numeric parsing with customizable options.

Converters:

  • BinaryConverters and HexadecimalConverters for binary and hexadecimal string conversions.
  • NumericConverter for handling multiple numeral systems.

String Extensions:

  • StringBuilderExtensions for efficient string manipulations.
  • CodeToTextExtensions and TextToCodeExtensions for encoding and decoding operations.

Exception Handling:

Custom exceptions like EmptyStringException and WhiteSpaceStringException for robust error handling.

Support for Multiple Numeral Systems:

Parsers for handling multiple numeral systems, including binary, hexadecimal, and custom formats.

Installation

You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.

NuGet Package Manager

  1. Open your project in Visual Studio.
  2. Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
  3. Search for Oakrey.Strings and click Install.

.NET CLI

Run the following command in your terminal:

dotnet add package Oakrey.Strings

Package Manager Console

Run the following command in your Package Manager Console:

Install-Package Oakrey.Strings

Requirements

  • .NET 8 or higher

Project Information

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Oakrey.Strings:

Package Downloads
Oakrey.Xml

Provides a framework for working with XML in .NET applications, including parsing extensions, validation, XSD support, serialization, and LINQ to XML enhancements. Simplifies XML data manipulation and validation

Oakrey.Applications.Reporting

A .NET library for generating structured reports with metadata, supporting evidence-based reporting, customizable output, and batch reporting capabilities

Oakrey.ASRockMotherboard

A .NET library for managing ASRock motherboard features, including GPIO control and hardware interaction.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 256 4/17/2025