Following a similar approach in https://github.com/elastic/elasticsearch/pull/56404/, implement case sensitivity based on request parameter for `between` string function.