strings.index() function *Output data type: Integer* *Data type: String* substr *Data type: String* ExamplesFind the first occurrence of a substringimport "strings"data |> map(fn: (r) => ({ })Related articles strings.indexAny() functionstrings.lastIndexAny() function