28 Jun 2012 00:15
slicing and dicing strings
Kirk Bailey <kbailey <at> howlermonkey.net>
2012-06-27 22:15:05 GMT
2012-06-27 22:15:05 GMT
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
(Continue reading)
RSS Feed