Remove first and last letter of string?

Started by MamaLuigi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove first and last letter of string?

I want to use the display name of the item the player is holding for something, but i want to get rid of the [ at the beginning and the ] at the end, so how would i do this?

 

A picture of a procedure would be nice

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm, i figured it out
Tue, 10/17/2023 - 22:24

nvm, i figured it out

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How does one do this?
Tue, 09/17/2024 - 15:14

How does one do this?