Typescript Check If String Includes Substring Method In Apex