HF RL Explorer

Task: Get the Last Index of a Substring in SQLite

Task: Get the Last Index of a Substring in SQLite: a task in Terminal-Lego-15k (Harbor dataset). Write a SQLite query that extracts the substring after the last occurrence of a specific delimiter character ( / ) from a string column. SQLite does not have a built-in lastIndexOf function, so you…

The task

Write a SQLite query that extracts the substring after the last occurrence of a specific delimiter character (`/`) from a string column. SQLite does not have a built-in `lastIndexOf` function, so you must find an equivalent approach using available SQLite string functions.

Part of PrimeIntellect/Terminal-Lego-15k.