Skip to content

String handling

LENGTH, MID and RIGHT

  • The 2026 guide's string routines are LENGTH, MID, RIGHT, UCASE and LCASE. The exam insert also lists LEFT.
  • Positions start at 1.
  • MID(text, start, length) copies length characters from start.
  • RIGHT(text, n) copies the last n characters.

"ABCDEFGH" in cells numbered 1 to 8: MID("ABCDEFGH", 2, 3) copies BCD from position 2, RIGHT("ABCDEFGH", 3) copies FGH; LENGTH("Happy Days") is 10

Handout

Log in or create account

IGCSE, A-Level & AP