SUBSTRING() FUNCTION in MySQL

SUBSTRING() FUNCTION The MySQL SUBSTRING function is used to extract a substring from a string. The various versions of MySQL support the SUBSTRING function, namely, MySQL 5.7, MySQL 5.6, MySQL 5.5, MySQL 5.1, MySQL 5.0, MySQL 4.1, MySQL 4.0 and MySQL 3.23. Syntax 1: SUBSTRING( string, start_position, length ) Syntax 2: SUBSTRING( string FROM start_position … Read more