String Utilities
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #321 of 885 fabric mods in this game by downloads
📋 About This Mod
# String Utilities Mod A mod that provides more NBT string operations.\ 一个提供更多 NBT 字符串操作的模组。 ## Syntax 语法 `/string <method> ` 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\\` into `a:b/c` - `/string strip storage foo:bar baz value " a 123 "` stores `a 123` into `foo:bar/baz` - `/string concat2 storage a b from entity @s SelectedItem.id from entity @s Inventory.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`
# String Utilities Mod A mod that provides more NBT string operations.\ 一个提供更多 NBT 字符串操作的模组。
## Syntax 语法
`/string
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\\` into `a:b/c` - `/string strip storage foo:bar baz value " a 123 "` stores `a 123` into `foo:bar/baz` - `/string concat2 storage a b from entity @s SelectedItem.id from entity @s Inventory.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
📊 Mod Details
- Game
- Minecraft Mods
- Author
- Myitian
- Version
- 1.1-fabric-1.21.5
- Downloads
- 1,107
- Endorsements
- 0
- Category
- fabric
- Created
- 12/7/2024
- Updated
- 12/27/2025
- Game Versions
- 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
- Tags
- utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does String Utilities support?
The author lists 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10. Other versions may work but are untested by the author.
What is the latest version of String Utilities?
Version 1.1-fabric-1.21.5, published 2025-12-27 with 1,107 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await