Olav Rogall wrote:
> 
>   $total_time = get_minutes('abc.mp3') + ':' + get_seconds('abc.mp3');
> 
>   the result in $total_time is "3:1", but it should be "03:01".
> 
>   how can i fill up the strings with a leading zero if the returned
>   value is only one char?

perldoc -f sprintf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to