I'm making a program that will correctly address the gender of the user. So it should replace every instance of he to she or vice versa.
The problem is this will also replace he inside words such as them, their, help...
This is where I'm stuck.
local str = "the he he's hell"
str = str:gsub("he", "she") --tried my best, not the correct solution!
print(str) --expecting "the she she's hell"
Basically replace all he to she.