Remove first and last letter of string?

Started by MamaLuigi on

Topic category: Help with modding (Java Edition)

Last seen on 23:48, 22. Jun 2024
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

Last seen on 23:48, 22. Jun 2024
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