Java Program to Check if a string contains a substring | Vultr Docs