public static boolean contains(String pContainer, String pLookFor) {
        return ((pContainer != null) && (pLookFor != null) && (pContainer.indexOf(pLookFor) >= 0));
    }
public static boolean contains ( String pContainer , String pLookFor ) { return ( ( pContainer != null ) && ( pLookFor != null ) && ( pContainer . indexOf ( pLookFor ) >= 0 ) ) ; }
Tests if a string contains another string.

@param pContainer The string to test
@param pLookFor   The string to look for
@return {@code true} if the container string is contains the string, and
both parameters are non-{@code null}, otherwise {@code false}.