String
String functions work on VARCHAR/CHAR/TEXT: CONCAT, SUBSTR, TRIM, UPPER, LENGTH. SELECT UPPER(name), TRIM(city) FROM students;
They return a new value. The table does not change until UPDATE. Indexes start at 1.
LENGTH is bytes; CHAR_LENGTH is characters (utf8mb4). CONCAT with NULL becomes NULL unless you use CONCAT_WS or IFNULL.
Trap: using string functions in WHERE on a huge indexed column (UPPER(name) = 'ASHA' may skip the index). Prefer storing canonical form.
On the example next to this theory: String: create two demo rows, then SELECT qty >= 2 ordered. Say which labels come back.
Name CONCAT / TRIM / UPPER and one students example.