Java tutorial
//package com.java2s; public class Main { public static boolean containKeyWords(String objectString, String firMatchString, String secMatchString, String thrMatchString) { if (objectString.contains(firMatchString) || objectString.contains(secMatchString) || objectString.contains(thrMatchString)) { return true; } else { return false; } } }