How could I shorten a player name to 3 letters?

Basically, when I get the username of a player, I want to shorten the string I receive to just 3 letters, eg:
“KingJesseDev” → “Kin”
“Roblox” → “Rob”.

string.sub("Roblox", 1, 3)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.