Comments - SUBSTRING_INDEX

9 years, 1 month ago Adam Scott
This comment has the status of 'removed' and can only be seen by you.

This may be easier to understand.

SUBSTRING_INDEX('www.mariadb.org', '.', 2)

means "Return all of the characters up to the 2nd occurrence of ."

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.