Skip to content

Commit 13ed24f

Browse files
authored
Merge pull request #2 from hjrb/addnugetpackage
Add Nuget package creation meta data
2 parents 1861249 + f33bd84 commit 13ed24f

3 files changed

Lines changed: 57 additions & 3 deletions

File tree

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<!-- NuGet package metadata -->
8+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
9+
<PackageId>SplitQuotedString</PackageId>
10+
<Version>1.0.0</Version>
11+
<Authors>HunnyR</Authors>
12+
<Company>HunnyR</Company>
13+
<Description>Utility to split strings supporting multiple separators and multiple quote characters, doubled quotes as literal, and collapsing consecutive separators.</Description>
14+
<RepositoryUrl>https://github.com/hjrb/SplitQuotedString</RepositoryUrl>
15+
<PackageProjectUrl>https://github.com/hjrb/SplitQuotedString</PackageProjectUrl>
16+
<RepositoryType>git</RepositoryType>
17+
<PackageTags>split parser quoting csv tsv string</PackageTags>
18+
<PackageReadmeFile>README.md</PackageReadmeFile>
19+
<PackageLicenseFile>License</PackageLicenseFile>
20+
<IncludeSymbols>true</IncludeSymbols>
21+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
22+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
723
</PropertyGroup>
24+
<ItemGroup>
25+
<!-- Ensure README and License are packed -->
26+
<None Include="License" Pack="true" PackagePath="/" />
27+
<None Include="README.md" Pack="true" PackagePath="/" />
28+
</ItemGroup>
829

930
</Project>

SplitQuotedString/license

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 HunnyR
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
21+
OR

SplitQuotedString/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
SplitQuotedString
2+
3+
This repo contains a single class that enables splitting strings:
4+
5+
1. Support multiple separator characters
6+
2. Supports quoting with multiple characters
7+
3. Handle two quotes as literal
8+
4. Treat consecutive separators as one
9+
10+
11+
Read the code for more information or use IntelliSense.
12+
The source code is available on GitHub: https://github.com/hjrb/SplitQuotedString

0 commit comments

Comments
 (0)