Jeffrey Turmelle writes: > ... Python's string objects have a method "strip" that removes leading and trailing white space. " this is a string with leading and trailing white space ".strip() will give you "this is a string with leading and trailing white spac" Dieter