Use Variable In Powershell String Length In Cpp