in reply to Re^3: remove lending figures
in thread remove lending figures

> tho with 1:00, isn't working

Because ":" is not "."

Use  @digits = split /[:.]/, $string

And pick what you need

For anything more complicated, better consider a dedicated DateTime module.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery