James.Rocks@equant.com wrote: > I should have used: > > string.replace(string.ljust("", len(sServer)), " ", "=") It may be simpler to avoid the string module functions altogether. Remember that strings can also be multiplied, so this should probably work: underline = "=" * len(sServer) Jeff Shannon Technician/Programmer Credit International