Thanks for the tip. 0 + $null is int. The bug is that $null should be nothing, not an empty string. -- Juha