|
-
August 9th, 2012, 11:31 AM
#1
Use string contains for multiple checks
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|