Hi everyone

I wanted to know wether is possible to use the contains method to check multiple values.

For example:

If I want to know wether a string contains a "?" or "!". How would I change the syntax to accomodate both?

I am currenly using this : value.contains("?"); but I want to be able to put multiple characters check.

Thank you