Powershell Push Element In Array Javascript Splice String In Python