From: Adam F. <am...@ad...> - 2009-02-21 04:37:32
|
It has never occurred to me to explode an empty string. Take a second and think "how would I implement explode()?" Would you test that string is not empty before proceeding thereby forcing an additional operation on every call to handle a fringe case? I would just test that my string is !empty() before proceeding if that's such a regular occurrence. --Adam -- Adam Finlayson am...@ad... |