On Dec 21, 2012, at 4:58 PM, Jim Giner <jim.gi...@albanyhandball.com> wrote: >> > Never realized that you could address a string as an array of chars, which > you are doing. Could that be the issue? Or did I learn something new? Or > should you have used substr to remove that last char?
Jim: I guess you learned something new -- that's good. A string is just a "string" of chars. As such, if you define: $a = "tedd"; then: $a is 't'; $a is 'e' $a is 'd' $a is 'd' The only confusing thing here is the length of the string -- in this case the length of this string is four, but $a has not been defined. Cheers, tedd _____________________ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php