View Single Post
  #24  
Unread 02-10-2005, 04:52 PM
Killarny Killarny is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Neriak
Posts: 273
Default

Quote:
Originally Posted by taco-man
split(",", $PathfindLocation , 3);
I don't know PHP, but based on my experiences with C/C++, Java, Python, ObjectPascal and a few others, if the split() function is worth a damn, you should be able to pass it multiple delimiters, so that you can parse any combination of comma or space delimited strings. That way you don't have to have the strict limitation of loc,loc,loc with no spaces.
__________________