Jump to content

Question


K4stic

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...