Function: contains()

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Rm.
Posts: 6
Joined: 02 May 2013 09:15

Function: contains()

Post by Rm. » 02 May 2013 09:37

Required function: boolean contains(String s, String charSequence)

Description:
Returns true if and only if this string contains the specified sequence of char values. I know the same can be done using indexOf() > -1 or matches(regex), but it just seems better to have non-regular expression contains() method and not to use indexOf() > -1.

Locked