buraisu Posted November 20, 2006 Share Posted November 20, 2006 Hi there.I am just wondering how I would be able to seperate something using preg_splitI have str1 and str2 stored in a variable like this str1 BC str2Anyone have any idea how I would seperate those? Link to comment https://forums.phpfreaks.com/topic/27825-lil-bit-of-regex-help/ Share on other sites More sharing options...
fert Posted November 20, 2006 Share Posted November 20, 2006 [code]$text=explode(" BC ",$text);[/code]oh, wait you said preg_split Link to comment https://forums.phpfreaks.com/topic/27825-lil-bit-of-regex-help/#findComment-127311 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.