Monthly Archives: April 2011

Edge case for split / explode

During recent coding, using PHP, I found that the explode function behaves in a non-ideal way (for me) when trying to split an empty string: produces: I was expecting (needing?) an empty array. After thinking about it a bit more, … Continue reading

Posted in Python, Software | Leave a comment