not sure what you guys are using to do non-whitespace counting, but i don't feel like counting them all to give a number.
You are rocking a 330, and you have a capitalization error on the 2nd-to-last line (I'm quibbling, I know, but that capital cost me 5 characters to get right).
ah thanks=-). had to bump it up by 3 characters to fix that, and one other mistake: http://codepad.org/aDEAu5R6
edit: here's a c# version: http://ideone.com/S7Hcs5 clocks in at 382 characters.
edit2: managed to reduce it down to 338 characters.