On Dec 21, 2012, at 8:06 PM, Jim Giner <jim.gi...@albanyhandball.com> wrote:
>> That actually makes sense tho.  Afterall, a string is truly only one memory 
>> allocation whereas array elements are basically multiple vars having the 
>> same name.  So - how can you unset one char in a string?

It depends upon the language -- while it is true that the start of a string is 
located at a memory address, the chars of the string are identical to the chars 
in an array. As such, you can view a string as an array. Each index is 
representative of a char (one byte) in the string.

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

Reply via email to