How to set string whit same length

Hi
I want to send arduino data to processing, but the setring is not always the same length becasue the hour, min and second brcuse the arduino send one chart or two chart deppedind of the time.
Serial print show hour 1:min 1:second 1 // length cam be different is hour is 22 increse one more
And I want hour 01: min =01, second 01, the length always be 6. // more ease to decode whit index funct.

Any idea.

Thanks
I found the solution whit this simple code, the funciontion printDigits make all the work.

void digitalClockDisplay(){
// digital clock display of the time
printDigits(hour());
printDigits(minute());
printDigits(second());
Serial.print(" ");
printDigits(day());
Serial.print(" ");
printDigits(month());
Serial.print(" ");
printDigits(year());
Serial.println();
}

void printDigits(int digits){
// utility function for digital clock display: prints preceding colon and leading 0
if(digits < 10)
Serial.print('0');
Serial.print(digits);