Create Array Variable In Powershell Substring Function In C