HF RL Explorer

Task: Implement Case-Insensitive String Contains Check in JavaScript

Task: Implement Case-Insensitive String Contains Check in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a JavaScript utility that performs case-insensitive substring matching. The original indexOf() method in JavaScript is case-sensitive, but you need to create a…

The task

You need to implement a JavaScript utility that performs case-insensitive substring matching. The original `indexOf()` method in JavaScript is case-sensitive, but you need to create a solution that can match substrings regardless of their case.

Part of PrimeIntellect/Terminal-Lego-15k.