$option = [System.StringSplitOptions]::RemoveEmptyEntries
$string.split(";",$option)
Uses a split and optional options to break apart the string
PS C:\> $string = 'A1;B2;;D4' >> $option = [System.StringSplitOptions]::RemoveEmptyEntries >> $string.split(";",$option) A1 B2 D4