K4stic Posted August 28, 2013 Posted August 28, 2013 i have this code and i wan't make it smaller guiSetText ( blabla, string.gsub ( guiGetText( blabla ), "%p", "" ) ) guiSetText ( blabla, string.gsub ( guiGetText( blabla ), "%s", "" ) ) guiSetText ( blabla, string.gsub ( guiGetText( blabla), "%a", "" ) ) so it will like that? is correct? guiSetText ( blabla, string.gsub ( guiGetText( blabla ), "%p%s%a", "" ) )
K4stic Posted August 28, 2013 Author Posted August 28, 2013 i just asking because i bad know string.gsub i read about it on Lua.org but still no understand it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now