lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi all,

how can I substitue that last occurence of a string ?

I would like to do
     string.gsub("blabla/in0_input", "_input", "_alarm")

but I need to ensure the "_input" is really at the end of the string
(blabla may contains anything :) ).

Thanks

Laurent