speedy33417 Posted September 30, 2006 Share Posted September 30, 2006 What is the best way to break up a string separated by a certain character. I have path saved in $path which could me something like this:folder1/folder2/folder3/I'd like to break up the string intofolder1folder2folder3and save it into an array.Any suggestions would be great. Link to comment https://forums.phpfreaks.com/topic/22585-breaking-up-a-string/ Share on other sites More sharing options...
AndyB Posted September 30, 2006 Share Posted September 30, 2006 http://ca.php.net/manual/en/function.explode.php Link to comment https://forums.phpfreaks.com/topic/22585-breaking-up-a-string/#findComment-101325 Share on other sites More sharing options...
speedy33417 Posted September 30, 2006 Author Share Posted September 30, 2006 Easy enough. Thanks a lot. Link to comment https://forums.phpfreaks.com/topic/22585-breaking-up-a-string/#findComment-101326 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.