#how do i cut a string

1 messages · Page 1 of 1 (latest)

candid panther
#

how do i remove a part of a string for example
local string = "Hello World" but i want to remove the Hello part of string how do i do that?

zenith cove
#

So for this what you'd do is

#
local string = "Hello World"
string.sub(string, 1, 5)
candid panther
#

ok

#

ill try it

#

it works thx

stark obsidian
#

they can help

candid panther
#

ok