rgexplode()
function rgexplode( $sep, $string, $min_count, $on_last_sep=false )
Converts a delimiter separated string to an array.
Since:
Unknown2.9.30(Added the optional $on_last_sep param.)
Source: gravityforms.php:7210
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$sep | string | The delimiter between values | |
$string | string | The string to convert | |
$min_count | int | The minimum number of items in the resulting array | |
$on_last_sep | bool | false | Optional. If true, the split occurs on the last instance of the delimiter. Defaults to false. |
Returns
array— $ary The exploded array