Exclude blanks when splitting a string into an array

$option = [System.StringSplitOptions]::RemoveEmptyEntries
$string.split(";",$option)
Details
Uses a split and optional options to break apart the string

Example
PS C:\> $string = 'A1;B2;;D4'
>> $option = [System.StringSplitOptions]::RemoveEmptyEntries
>> $string.split(";",$option)

A1
B2
D4