Thanks! I have 16 zillion ... well 16,000 strings that need trimming.

Lee

Larry Bates wrote:
> Can't address the 8-byte longs, but to strip off null padding
> in strings you merely do
> 
> s=s.rstrip('\x00')
> 
> Larry Bates

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to