Frontmatec.Text
1.0.8
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 Frontmatec.Text --version 1.0.8
NuGet\Install-Package Frontmatec.Text -Version 1.0.8
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="Frontmatec.Text" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Frontmatec.Text --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Frontmatec.Text, 1.0.8"
#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 Frontmatec.Text as a Cake Addin #addin nuget:?package=Frontmatec.Text&version=1.0.8 // Install Frontmatec.Text as a Cake Tool #tool nuget:?package=Frontmatec.Text&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Frontmatec.Text
StringToCaseExtensions
// from plain English
"The Quick Brown Fox".ToCamelCase() == "theQuickBrownFox"
"The Quick Brown Fox".ToKebabCase() == "the-quick-brown-fox"
"The Quick Brown Fox".ToPascalCase() == "TheQuickBrownFox"
"The Quick Brown Fox".ToSnakeCase() == "the_quick_brown_fox"
"The Quick Brown Fox".ToTrainCase() == "The-Quick-Brown-Fox"
// from camelCase
"theQuickBrownFox".ToCamelCase() == "theQuickBrownFox"
"theQuickBrownFox".ToKebabCase() == "the-quick-brown-fox"
"theQuickBrownFox".ToPascalCase() == "TheQuickBrownFox"
"theQuickBrownFox".ToSnakeCase() == "the_quick_brown_fox"
"theQuickBrownFox".ToTrainCase() == "The-Quick-Brown-Fox"
// from kebab-case
"the-quick-brown-fox".ToCamelCase() == "theQuickBrownFox"
"the-quick-brown-fox".ToKebabCase() == "the-quick-brown-fox"
"the-quick-brown-fox".ToPascalCase() == "TheQuickBrownFox"
"the-quick-brown-fox".ToSnakeCase() == "the_quick_brown_fox"
"the-quick-brown-fox".ToTrainCase() == "The-Quick-Brown-Fox"
// from PascalCase
"TheQuickBrownFox".ToCamelCase() == "theQuickBrownFox"
"TheQuickBrownFox".ToKebabCase() == "the-quick-brown-fox"
"TheQuickBrownFox".ToPascalCase() == "TheQuickBrownFox"
"TheQuickBrownFox".ToSnakeCase() == "the_quick_brown_fox"
"TheQuickBrownFox".ToTrainCase() == "The-Quick-Brown-Fox"
// from snake_case
"the_quick_brown_fox".ToCamelCase() == "theQuickBrownFox"
"the_quick_brown_fox".ToKebabCase() == "the-quick-brown-fox"
"the_quick_brown_fox".ToPascalCase() == "TheQuickBrownFox"
"the_quick_brown_fox".ToSnakeCase() == "the_quick_brown_fox"
"the_quick_brown_fox".ToTrainCase() == "The-Quick-Brown-Fox"
// from Train-Case
"The-Quick-Brown-Fox".ToCamelCase() == "theQuickBrownFox"
"The-Quick-Brown-Fox".ToKebabCase() == "the-quick-brown-fox"
"The-Quick-Brown-Fox".ToPascalCase() == "TheQuickBrownFox"
"The-Quick-Brown-Fox".ToSnakeCase() == "the_quick_brown_fox"
"The-Quick-Brown-Fox".ToTrainCase() == "The-Quick-Brown-Fox"
StringToHashExtensions
"123".ToSha1Hash() == "0d5399508427ce79556cda71918020c1e8d15b53"
"123".ToSha256Hash() == "26d6a8ad97c75ffc548f6873e5e93ce475479e3e1a1097381e54221fb53ec1d2"
CsvReader
Reading a CSV file
id;name
1;one
2;two
using (var reader = new CsvReader("path\\to\\file.csv"))
{
foreach (var record in reader.Read())
{
var id = record[0];
var name = record[1];
}
}
CsvWriter
Writing a CSV file
using (var writer = new CsvWriter("path\\to\\file.csv"))
{
writer.Write("id", "name");
writer.Write("1", "one");
writer.Write("2", "two");
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
-
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.
Version | Downloads | Last updated |
---|---|---|
1.0.15 | 614 | 3/7/2024 |
1.0.14 | 133 | 3/7/2024 |
1.0.13 | 135 | 3/7/2024 |
1.0.12 | 692 | 2/29/2024 |
1.0.11 | 121 | 2/28/2024 |
1.0.9 | 101 | 2/28/2024 |
1.0.8 | 105 | 2/28/2024 |
1.0.7 | 108 | 2/28/2024 |
1.0.6 | 114 | 2/28/2024 |
1.0.5 | 713 | 6/21/2023 |
1.0.4 | 643 | 11/16/2022 |
1.0.3 | 465 | 5/24/2022 |
1.0.2 | 345 | 11/15/2021 |
1.0.1 | 449 | 10/7/2021 |
1.0.0 | 492 | 1/20/2021 |