slicing and dicing strings

From: Date: Wed, 27 Jun 2012 22:15:05 +0000
Subject: slicing and dicing strings
Groups: php.general 
Request: Send a blank email to php-general+get-318310@lists.php.net to get a copy of this message
ok, it slices and dices, but how? in python, to print all but the last char in string FOO, we say print FOO[:-1] But this seems to bark like a basset hound in php. Whyfore? Now tihs tyro is seeking sage words to help me understand this. RTFM is not sage words; if you don't want to help me please don't waste the bandwidth. Would anyone care to help me understand this without dedicating 4 precious and in over demand/under supply hours to RTFM? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-----+ | BOX | +-----+ think

« previous php.general (#318310) next »