Help with String

I was wondering if you can get the first letter of a string and make it capital, because I have to use it in a chat command, I have to find a folder, but he can’t read because the first characters are different

Yep! There’s two ways you can do this; one is a bit hacky and the other uses string patterns. First approach:

local str = whatever u want idk

local firstChar = str:sub(1, 1)
str = firstChar:upper() .. str:sub(2, #str)

This essentially just takes the first character, uppercases it, and recombines it with the rest of the string.