From: KONTRA Gergely Date: 2003-11-15T00:48:53+09:00 Subject: substring: to the end of the string Hi! Is there any easiest way to get the substring starting from the 3rd character? my solution: str[3..-1] which seems quite odd :-/ What if, intuitive, we can write str[3..]? Any smarter solution? Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+