Hello!
I’m currently having difficulty finding out how I’d go about using gsub on this string. Basically, it determines the game version but I want it to look more pleasant.
Essentially what the string looks like is:
'<GAME_VERSION v0.9.9>'
The issue is that I’m not sure how to get rid of the <GAME_VERSION v
and the >
without doing two separate gsubs. Any ideas?
I’ve tried doing a couple things but I honestly have no idea what I’m doing:
string:gsub('(<GAME_VERSION)(>)', '')
string:gsub('[<GAME_VERSION][v>]', '')