Jump to content

Exclude some chars from gui-edit


DakiLLa

Recommended Posts

  • Other Languages Moderators
local s = 'Kenix\\1' 
print( s ) -- > Kenix\1 
print( s:gsub( '\\', '' ) ) --> Kenix1 

Well if you have string like this it's unfinished string

print( '\' )

P.S \ is hided in bb code.

So if you want use \ char you need:

print( '\\' ) --> \

Edited by Guest
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...