From: Philip Mak Date: 2002-06-10T08:40:15+09:00 Subject: String.left? Is there a function that acts like String.left? I'd like to be able to get the leftmost x characters of the string. e.g.: "1234567890".left(4) => "1234" "x".left(4) => "x"