How to convert a string to all lowercase?

Started by TheCatalystGaming on

Topic category: Help with modding (Java Edition)

Last seen on 19:36, 13. Nov 2022
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to convert a string to all lowercase?

I have various strings that are capitalised, and I would like to replace the capitals with lowercase letters. However the strings are of varying lengths and content. I could use "Replace x with y in z", but I would have to do that 26 times for every letter. Is there a better solution?

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
String toLowerCase() Add a…
Sat, 11/21/2020 - 20:37

String toLowerCase()

Add a custom code snippet and add whatever the strings name is to ".toLowerCase()"

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
E.g name.toLowerCase();
Sat, 11/21/2020 - 20:40

E.g name.toLowerCase();

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
:D
Sun, 11/22/2020 - 17:16

:D