containsAny

public static boolean containsAny(String string, Array<String> substrings)

Check if a string contains any of the given substrings.

Return

True if the string contains any of the substrings, false otherwise

Parameters

string

The string to check

substrings

The substrings to check for