TLio.Extensions.Text
1.1.0-preview.5
dotnet add package TLio.Extensions.Text --version 1.1.0-preview.5
NuGet\Install-Package TLio.Extensions.Text -Version 1.1.0-preview.5
<PackageReference Include="TLio.Extensions.Text" Version="1.1.0-preview.5" />
<PackageVersion Include="TLio.Extensions.Text" Version="1.1.0-preview.5" />
<PackageReference Include="TLio.Extensions.Text" />
paket add TLio.Extensions.Text --version 1.1.0-preview.5
#r "nuget: TLio.Extensions.Text, 1.1.0-preview.5"
#:package TLio.Extensions.Text@1.1.0-preview.5
#addin nuget:?package=TLio.Extensions.Text&version=1.1.0-preview.5&prerelease
#tool nuget:?package=TLio.Extensions.Text&version=1.1.0-preview.5&prerelease
TLio.Extensions.Text
Text and string functions for TLio. Format-agnostic — works
against JSON, XML, and YAML through IExecutionContext<TNode>.
dotnet add package TLio.Extensions.Text
Quick start
using Newtonsoft.Json.Linq;
using TLio.Client;
using TLio.Extensions.Text;
using TLio.Json;
var data = JToken.Parse("""{ "first": "Ada", "last": "Lovelace" }""");
var script = """
[
{ "command": "add", "path": "$.fullName", "value": "=concat($.first, ' ', $.last)" }
]
""";
var options = ParseOptions<JToken>.CreateDefault();
options.FunctionsProvider.RegisterText<JToken>();
var engine = new ScriptEngine<JToken>(options.CommandsProvider, options.FunctionsProvider);
var result = engine.Execute(script, data, JsonExecutionContext.CreateDefault());
// result.Data["fullName"] → "Ada Lovelace"
RegisterTextPack<TNode>() is a JLio-compatible alias for RegisterText<TNode>().
Functions
concat · length · substring · toupper · tolower · trim · trimstart · trimend ·
startswith · endswith · contains · replace · split · join · indexof · format ·
parse · padleft · padright · newguid · isempty · toString
camelCase aliases are also registered: toLower, toUpper, trimStart, trimEnd.
License
MIT — see the repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- TLio.Core (>= 1.1.0-preview.5)
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.1.0-preview.5 | 65 | 9/27/2026 |
| 1.1.0-preview.4 | 41 | 9/27/2026 |
| 1.1.0-preview.3 | 54 | 9/24/2026 |
| 1.1.0-preview.2 | 43 | 9/24/2026 |
| 1.1.0-preview.1 | 49 | 9/24/2026 |
| 1.0.1 | 198 | 9/24/2026 |
| 1.0.0 | 95 | 9/20/2026 |
| 0.10.0-preview.6 | 49 | 9/20/2026 |
| 0.10.0-preview.5 | 49 | 9/20/2026 |
| 0.10.0-preview.4 | 49 | 9/18/2026 |
| 0.10.0-preview.3 | 59 | 9/18/2026 |
| 0.10.0-preview.2 | 55 | 9/13/2026 |
| 0.10.0-preview.1 | 70 | 8/24/2026 |
| 0.9.0 | 109 | 8/23/2026 |
| 0.9.0-preview.14 | 86 | 8/22/2026 |
| 0.9.0-preview.13 | 62 | 8/22/2026 |
| 0.9.0-preview.12 | 73 | 8/22/2026 |
| 0.9.0-preview.11 | 59 | 8/22/2026 |
| 0.9.0-preview.10 | 67 | 8/22/2026 |
| 0.9.0-preview.9 | 63 | 8/21/2026 |