K4stic Posted August 28, 2013 Share 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", "" ) ) Link to comment
Castillo Posted August 28, 2013 Share Posted August 28, 2013 Why don't you try and see if it works? Link to comment
K4stic Posted August 28, 2013 Author Share 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 Link to comment
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