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.