land
- ничего не находитval = this.value
val = this.value.toUpperCase()
if (arr[i].substr(0, val.length).toUpperCase() == val.toUpperCase()) {
if (arr[i].toUpperCase().includes(val)) {
b.innerHTML = "<strong>" + arr[i].substr(0, val.length) + "</strong>";
b.innerHTML += arr[i].substr(val.length);
b.innerHTML = arr[i]
.split(RegExp(`(${val})`, 'i'))
.map((n, i) => i & 1 ? `<b>${n}</b>` : n)
.join('');