string_explode [function]

string_explode( string str, string sep )

splits the string str into an array of substrings, separated by string sep

string_explode( "www.example.com", "." ); // ["www","example","com"]
string_explode( "x", "-" ); // ["x"]
string_explode( "/some//data", "/" ); // ["","some","","data"]