String Question!

I wish to get the first 4 letters of the player’s name only, do anyone know how?

local Players = game:GetService("Players")

local player = Players.LocalPlayer

local Name = player.Name

Use string.sub, the code would look like:

local FirstFourLetters  = string.sub(Name, 1, 4)