Bee Learnt Logo
Bee Learnt
FeatureBrowse allPricingAboutSupport
Bee Learnt

Bee Learnt gives South African Grade 10–12 learners a cleaner route from classwork to NSC readiness — with parents and tutors supporting the journey.

WhatsApp: 0685537312

Support email: admin@beelearnt.co.za

Learn
FeaturesBrowse subjectsPricing
Get started
Create accountSign inContact support
Company
About Bee LearntAdvertisingContact
Legal
Privacy policyTerms of serviceCookie policyAd choices

© 2026 Bee Learnt. All rights reserved.

CAPS aligned · Grades 10–12 · NSC ready

  1. Subjects
  2. /
  3. Information Technology
  4. /
  5. Information Technology Grade 11 — Practical
  6. /
  7. Structured Programming
  8. /
  9. Strings and text processing
Grade 11 · Practical

Strings and text processing

Structured Programming · about 3 min

Educational overview for Strings and text processingVisual overview: Strings and text processing

Strings hold text. Delphi's string functions let you validate, search and transform input — essential for exam questions and real programs.

Key points
  • `Length(s)` counts characters; `Copy(s, start, n)` extracts a substring; `Pos(sub, s)` finds a substring's position (0 if absent).
  • `UpperCase`/`LowerCase` normalise case; `Trim` removes surrounding spaces.
  • Access one character with `s[i]`; loop `for i := 1 to Length(s)` to examine every character.
  • Test a character with sets: `if s[i] in ['A'..'Z'] then …`.
Key terms
  • String — a sequence of characters.
  • Substring — part of a string extracted with Copy.
  • Concatenation — joining strings with `+`.
EXAM TIP

to check a character is a capital letter use `in ['A'..'Z']`; to count vowels, loop the string and test each character.


Previous

Arrays

Next

Procedures and functions