Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i make all text in a TextLabel be written in caps?

i have a textlabel that fetchs the player's name through a server script that activates a remote event, however, since it gets the player's name, it gets it with the intended capitalization, which i don't want (so for example, what i'd want is for it to say ARISNETA instead of ArisNeta), but i haven't been able to figure out a way since i'm not that experienced with scripting yet, if anyone here could help me that would be great, thank you!

1 answer

Use string.upper() and string.lower() to turn an entire string into either uppercase or lowercase characters respectively.

Example:

print(string.upper("ArisNeta"))

Output:

ARISNETA

This discussion is preserved as it was. New answers, comments, and votes are closed.