Java Program To Perform String Operations Powershell If Variable Is Empty