Read

http://php.net/manual/en/function.substr.php


-----Original Message-----
From: Kirk Bailey [mailto:kbai...@howlermonkey.net] 
Sent: Wednesday, June 27, 2012 6:15 PM
To: php-general@lists.php.net
Subject: [PHP] slicing and dicing strings

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


--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to