Using gsub

Alright so i have read this however i still have questions.

I’m trying to do something like this

var = “Hello the owners name is %s and hes cool”

so how would i get %s to change to like a var that i want

If you have more questions post then below thanks!

Use string.format for replacing variables like that, not gsub. gsub could be used but it seems to be that string.format is what you’re looking for

I actually got it with gsub! Thanks tho!