OK, Excuse me for being dumb ... but I just solved it. Inappropriate choice of functions :-( I should have used: string.replace(string.ljust("", len(sServer)), " ", "=") Sorry :-) James James C. Rocks Equant Archway House Canary Wharf London E14 9SZ