09.10.2022, 08:00
(08.10.2022, 09:38)Chris Wrote: Hello,Hi,
I want to cut part of a value :
-- value1 --> 11:36:23, Samedi
I want to recover the first part - hour without the day
-- 11:36:23
Thanks.
this could work
local value1 = '11:36:23, Samedi'
local data = '%d%d:%d%d:%d%d'
local res = string.match(value1, data)
log(res)