What function can be used to split a string in PHP?

To split a string in PHP, you can use the `explode()` function. This function allows you to split a string into an array based on a specified delimiter. Simply provide the string you want to split and the delimiter as arguments to the `explode()` function, and it will return an array of substrings.

$string = "Hello,World,How,Are,You";
$delimiter = ",";
$split_array = explode($delimiter, $string);

print_r($split_array);