JJ.Framework.Text.Core
5.2.7438
Prefix Reserved
dotnet add package JJ.Framework.Text.Core --version 5.2.7438
NuGet\Install-Package JJ.Framework.Text.Core -Version 5.2.7438
<PackageReference Include="JJ.Framework.Text.Core" Version="5.2.7438" />
<PackageVersion Include="JJ.Framework.Text.Core" Version="5.2.7438" />
<PackageReference Include="JJ.Framework.Text.Core" />
paket add JJ.Framework.Text.Core --version 5.2.7438
#r "nuget: JJ.Framework.Text.Core, 5.2.7438"
#:package JJ.Framework.Text.Core@5.2.7438
#addin nuget:?package=JJ.Framework.Text.Core&version=5.2.7438
#tool nuget:?package=JJ.Framework.Text.Core&version=5.2.7438
JJ.Framework.Text.Core
Addition to JJ.Framework.Text.Legacy for some special case methods that:
- Prettify logs and console output.
- Deal with blank lines, punctuation and accents.
- Overloads of basic methods like
TrimandReplace.
Prettify
These are opinionated, but made some logs pretty:
PrettyDurationPrettyTimeSpanPrettyTimePrettyByteCountWithShortGuids
PrettyDuration / PrettyTimeSpan examples:
2.63 d|2.35 h|1.50 min|1.23 s|3.54 ms|573.23 μs
PrettyTime example:
14:30:45.123
PrettyByteCount examples:
100 bytes|5119 bytes|5 kB|5120 kB|5 MB|5120 MB|5 GB|10 GB|10000 GB
WithShortGuids:
- GUIDs can really clutter your text:
New record {07c75275-0150-4414-bbca-0081b021a0ea} - This method takes a text that may contain GUIDs and shortens then e.g.,
"New record 07c752" - It makes it easier to eyeball them, and usually they are an exact match. For human readability, this is good.
- You can supply the desired shortened length. In the example above length was
6.
Spacing & Punctuation
Trying to avoid excess blank lines or punctuation these were born:
StartsWithBlankLineEndsWithBlankLineEndsWithPunctuationRemoveAccentsCountLines
Basic Overloads
Overloads that take either char or string for:
TrimReplace
Release Notes
2026-07-24 | 5.2/0.260 : Initial
- Moved string functions here from
JJ.Framework.Common.Core - Spacing, punctuation and char/string overloads.
- Prettification for logs and (console) text output.
- Supports extension and (short) static syntaxes.
- Full IntelliSense docs, 100% meaningful test coverage.
- Trimming/native compilation supported.
- A wide .NET version spread.
💬 Feedback
Found an issue? Let me know.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. 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 is compatible. 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. net9.0 is compatible. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- JJ.Framework.Common.Legacy (>= 0.260.7438)
-
.NETStandard 2.1
- JJ.Framework.Common.Legacy (>= 0.260.7438)
-
net10.0
- JJ.Framework.Common.Legacy (>= 0.260.7438)
-
net6.0
- JJ.Framework.Common.Legacy (>= 0.260.7438)
-
net7.0
- JJ.Framework.Common.Legacy (>= 0.260.7438)
-
net8.0
- JJ.Framework.Common.Legacy (>= 0.260.7438)
-
net9.0
- JJ.Framework.Common.Legacy (>= 0.260.7438)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on JJ.Framework.Text.Core:
| Package | Downloads |
|---|---|
|
JJ.Framework.Existence.Core
Has(text), Coalesce(a,b,c), list.Where(FilledIn) to replace garbage like !Equals(x, default(T?)) && !Equals(x, default(T)) and string.IsNullOrWhiteSpace(text). Fallbacks, emptiness checks coded like you mean it. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.2.7438 | 93 | 7/26/2026 |