publicmethod contains(this: String, substring: String): Bool {
if substring.len() > this.len() {
returnFalse
}
let i = 0
while i <= (this.len() - substring.len()) {
let section = this.substring(i, i + substring.len())
if section == substring {
returnTrue
}
i += 1
}
False
}