Powershell Check String Is Substring Method In Apex