Ir al contenido
Partir una cadena en partes utilizando split con valores negativos en PowerShell 7 (Strings, PowerShell)
PowerShell
,
Strings
PowerShell
"1 2 3" -split " ", -2
1
"1 2 3"
-split
" "
,
-2