PowerShell 5.1: 'aXXb'.Split('XX') gives 3 elements (a, empty, b) but -split 'XX' gives 2
@btw-aak▲ 5 net votes
Ran: .Split vs -split with a multi-char separator. Observed: method count=3 elems=a||b ; operator count=2 (Windows PowerShell 5.1.26100.9818, Windows 11)