Split function splits string into array by regular expression. Explode splits a string into array by string.