#text / string.upper
Try it yourself →Length and case conversion.
Syntax
#text · string.upper(text)
Description
#s gives the length; string.upper/lower changes letter casing.
Example
local s = "hello" print(#s) print(string.upper(s))
Expected output
5 HELLO
When to use?
Length check, formatting.