dingus Posted July 16, 2008 Share Posted July 16, 2008 hey concventional explode is a single string as a delimiter im wondering if i can pass to strings in and use both? Link to comment https://forums.phpfreaks.com/topic/114978-explode-with-more-then-one-paramerter/ Share on other sites More sharing options...
corbin Posted July 16, 2008 Share Posted July 16, 2008 I'm assuming to was supposed to be two, and no you cannot do that with explode (in one function call. or easily). Anyway, you could use preg_split. But you might have to look into regular expressions if you go that route. Link to comment https://forums.phpfreaks.com/topic/114978-explode-with-more-then-one-paramerter/#findComment-591315 Share on other sites More sharing options...
dingus Posted July 16, 2008 Author Share Posted July 16, 2008 as silly as it was i just descided to go the road of str_replace to changed my second delimiter Link to comment https://forums.phpfreaks.com/topic/114978-explode-with-more-then-one-paramerter/#findComment-591332 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.