Syntax
contains(string, string)
string.contains(string)
Description
The contains() function returns true if the first string contains the second strings, otherwise false is returned.
Example
include("main") println(contains("Mad Dan Eccles", "an")) println(contains("Minnie Bannister", "bannister")) if (contains("Neddie Seagoon", "e S")) { println("Found") } true false Found