JavaScript question, it should be easy, but Google isn't cooperating today. Given: element.style.left = 20 + 'px'; I want to get the 20 back. I'm sure JavaScript has something along the lines of "Get the integer off the front of a string" which doesn't involve regular expressions. Can someone remind me what the syntax is please? -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>