SunamoStringSplit¶
Methods for splitting strings
- NuGet: $(@{Name=SunamoStringSplit; CsprojRel=SunamoStringSplit/SunamoStringSplit/SunamoStringSplit.csproj; ReadmePath=/home/runner/work/PlatformIndependentNuGetPackages/PlatformIndependentNuGetPackages/SunamoStringSplit/README.md; Description=Methods for splitting strings; ApiNamespace=SunamoStringSplit}.Name)
- Source: GitHub
- API reference: ../../api/SunamoStringSplit.html
A .NET library providing comprehensive methods for splitting strings using various delimiters and strategies.
Overview¶
SunamoStringSplit is part of the Sunamo package ecosystem, providing modular, platform-independent string splitting utilities for .NET development.
Key Features¶
- Split strings by characters, strings, whitespace, or punctuation
- Split with or without removing empty entries
- Split into a specific number of parts (from start or end)
- Split while keeping delimiters in the result
- Split and filter by regex patterns
- Split by character indexes
- Split by letter count
Main Methods¶
Split()- Split by string delimiters with various optionsSplitChar()/SplitCharList()- Split by character delimitersSplitNone()/SplitNoneChar()- Split without removing empty entriesSplitByWhiteSpaces()- Split by all Unicode whitespace charactersSplitBySpaceAndPunctuationChars()- Split by space and punctuationSplitByNewLines()- Split by newline charactersSplitAndKeepDelimiters()- Split while preserving delimitersSplitAndReturnRegexMatches()- Split and filter by regexSplitByIndex()/SplitByIndexes()- Split at specific positionsSplitByLetterCount()- Split into equal-length segmentsSplitToParts()- Split into a specific number of partsSplitToPartsFromEnd()- Split into parts from the endSplitToIntList()- Split and parse to integers
Installation¶
Target Frameworks¶
- .NET 10.0
- .NET 9.0
- .NET 8.0
Dependencies¶
- Microsoft.Extensions.Logging.Abstractions
License¶
MIT