StringSUBSTRING MySQL SUBSTRING() Function SELECT SUBSTRING(“SQL Tutorial”, 1, 3) AS ExtractString; Note: The position of the first character in the string is 1. Note: The position of the last character in the string is -1.