About String Utilities
From ModrinthA mod that provides more NBT string operations.
String Utilities Mod
A mod that provides more NBT string operations.\ 一个提供更多 NBT 字符串操作的模组。
Syntax 语法
/string <method> [target] [source...]
The target and source parts are similar to what follows the data modify command.\ target和source部分与data modify命令后面的部分类似。
Example 例子
/string isEmpty value ""returns 1/string indexOf value "asdfghjkl" value "qwerty"returns -1/string escape storage a:b c value '\'quote"slash\\'stores'quote\"slash\\intoa:b/c/string strip storage foo:bar baz value " a 123 "storesa 123intofoo:bar/baz/string concat2 storage a b from entity @s SelectedItem.id from entity @s Inventory[0].id/string join storage test playerUUID from value "~" from @s UUID
Available Methods 可用的方法
| Name | Source | Target | Return Value | |----------------------------|-------------------------------------------------|--------------------------------------|------------------------------------------------------------------------------------------------| | isBlank | String | - | 1 if the input is a blank string, 0 otherwise. | | isEmpty | String | - | 1 if the input is a empty string, 0 otherwise. | | length | String | - | String length. | | toString | Any NBT Element | String | String length. | | toJson | Any NBT Element | String | String length. | | escape | String | String | String length. | | escapeNbt | String | String | String length. | | escapeRegex | String | String | String length. | | toLowerCase | String | String | String length. | | toUpperCase | String | String | String length. | | toLowerCaseInvariant | String | String | String length. | | toUpperCaseInvariant | String | String | String length. | | strip | String | String | String length. | | stripLeading | String | String | String length. | | stripTrailing | String | String | String length. | | toCharArray | String | List<String> | Count of code points. | | toCodePointStrings | String | List<String> | Count of code points. | | toCodePoints | String | IntArray | Count of code points. | | fromCodePoints | IntArray | String | String length. | | breakCharacters | String | List<String> | Count of results. | | breakCharactersInvariant | String | List<String> | Count of results. | | breakLines | String | List<String> | Count of results. |
Highlights
From source dataGame versions
Supports 43 Minecraft versions, the newest being 1.21.11.
Loaders
Runs on Fabric, Forge and NeoForge.
Footprint
Rated a light load on a server.
String Utilities on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Fabric, Forge, NeoForge
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 1.1-fabric-1.21.5, released 2025-12-27
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Fabric | 1.20 to 1.21.11 (19 versions) | 1.21.11 |
| NeoForge | 1.20.2 to 1.21.11 (17 versions) | 1.21.11 |
| Forge | 1.20.5 to 1.21.11 (14 versions) | 1.21.11 |
From 5 recorded builds of String Utilities.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 1.1-fabric-1.21.5 | 2025-12-27 | 1.21.5 to 1.21.11 (7 versions) | Fabric |
| 1.1-forge-like-1.21.5 | 2025-12-27 | 1.21.5 to 1.21.11 (7 versions) | Forge, NeoForge |
| 1.1-forge-like-1.20.5 | 2025-12-26 | 1.20.5 to 1.21.4 (7 versions) | Forge, NeoForge |
| 1.1-fabric-1.20 | 2025-12-26 | 1.20 to 1.21.4 (12 versions) | Fabric |
| 1.1-neoforge-1.20 | 2025-12-26 | 1.20.2 to 1.20.4 (3 versions) | NeoForge |
Run String Utilities on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportModrinth lists String Utilities as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- FabricForgeNeoForge
- Runs on
- Serverrequired on the server
- Game versions
- 1.21.11 and 42 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-02Open ↗
- ✓AuthorMyitian, as published on Modrinth
- ✓LicenseMITFree











