Does substring_index() function work in SQL workbench?
Yes. It works in mysql workbench.
SELECT SUBSTRING_INDEX(‘www.boardinfinity.com’ , ’ . ’ , 1)