So you are reading a log, that makes this more tricky. Honestly I would employ a few techniques rather than just splitting the string. You can search a string if it contains "POST" or "GET" for example, you could get the text between  as the date, and search based on what is between " marks. It would be more labor intensive and require stronger code, but would be a much better way. What if someone has a URL with a space in it? You would have errors I think the current way.
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.